csound/csound-gcc-warning-fix.patch
Pavol Rusnak a53b19828d - updated to version 5.15.0
- drop unused patches
- fix wrong memset and strncat usage ({memset,strncat}-fix.patch)

OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/csound?expand=0&rev=7
2012-01-08 16:13:41 +00:00

17 lines
1.0 KiB
Diff

Index: Opcodes/gab/sliderTable.c
===================================================================
--- Opcodes/gab/sliderTable.c.orig
+++ Opcodes/gab/sliderTable.c
@@ -368,9 +368,9 @@ static int sliderTable64(CSOUND *csound,
break; \
} \
*outTable++ = \
- *yt1++ = *c1++ * value + *c2++ * *yt1; /* filters the output */ \
+ *yt1 = *c1++ * value + *c2++ * *yt1; /* filters the output */ \
\
- min++; max++; j++; ftp++; \
+ yt1++; min++; max++; j++; ftp++; \
} \
} \
return OK;