Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.1)
cmake_minimum_required(VERSION 3.10...3.31)
project(STL2023 VERSION 2023)
add_definitions( -DVERSION_STL="${CMAKE_PROJECT_NAME}" )

Expand Down
2 changes: 1 addition & 1 deletion src/g711/shiftbit.c
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ int main (int argc, char *argv[]) {

fprintf (stderr, "%s: Reading, ", inp);
for (k = 0; k < l; k += 256)
if (fread (&buf[k],1, 512, fi) < 0)
if (fread (&buf[k],1, 512, Fi) < 0)
KILL (inp, 5);

fprintf (stderr, "shifting, ");
Expand Down
2 changes: 1 addition & 1 deletion src/mnru/mnru.c
Original file line number Diff line number Diff line change
Expand Up @@ -723,7 +723,7 @@ double *P50_MNRU_process(char operation, MNRU_state *s, double* input, double* o
return (NULL);

/* Seed for random number generation (NO LONGER USED) */
s->seed = NULL;
s->seed = 0;

/* Gain for signal path */
if (mode == MOD_NOISE)
Expand Down
8 changes: 4 additions & 4 deletions src/unsup/endian.c
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
---------------------------------------------------------------------------
*/

reverse_endian_short (unsigned short *a, unsigned short *b, long n) {
void reverse_endian_short (unsigned short *a, unsigned short *b, long n) {
long i;
unsigned short register tmp;
for (i = 0; i < n; i++) {
Expand All @@ -26,7 +26,7 @@ reverse_endian_short (unsigned short *a, unsigned short *b, long n) {
06.Oct.97 v1.0 Created <simao.campos@comsat.com>
---------------------------------------------------------------------------
*/
reverse_endian_long (unsigned long *a, unsigned long *b, long n) {
void reverse_endian_long (unsigned long *a, unsigned long *b, long n) {
long i;
union {
unsigned long tmp;
Expand All @@ -52,7 +52,7 @@ int is_little_endian () {
}

void test_s () {
short a, b;
unsigned short a, b;
while (1) {
fread (&a, 1, sizeof (short), stdin);
if (feof (stdin))
Expand All @@ -63,7 +63,7 @@ void test_s () {
}

void test_l () {
long a, b;
unsigned long a, b;
while (1) {
fread (&a, 1, sizeof (long), stdin);
if (feof (stdin))
Expand Down
2 changes: 1 addition & 1 deletion src/wmc_tool/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.1)
cmake_minimum_required(VERSION 3.10...3.31)
project(wmc_tool)
include(CTest)

Expand Down