summaryrefslogtreecommitdiffstats
path: root/sbc/sbcdec.c
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2009-01-29 17:32:58 +0100
committerMarcel Holtmann <marcel@holtmann.org>2009-01-29 17:32:58 +0100
commitdc1d52cfac56e18d2942c9ee78a96f351e322b77 (patch)
treea41c27ce725153dec2ee306f8a02f89555601adc /sbc/sbcdec.c
parentbbbb1adae92d53840ef28ec955a388d2d2bf7c0a (diff)
Add -Wno-sign-compare for the library and fix the other warnings
Diffstat (limited to 'sbc/sbcdec.c')
-rw-r--r--sbc/sbcdec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sbc/sbcdec.c b/sbc/sbcdec.c
index 462663ab..dfe092f5 100644
--- a/sbc/sbcdec.c
+++ b/sbc/sbcdec.c
@@ -143,7 +143,7 @@ static void decode(char *filename, char *output, int tofile)
au_hdr.channels = BE_INT(channels);
written = write(ad, &au_hdr, sizeof(au_hdr));
- if (written < sizeof(au_hdr)) {
+ if (written < (int) sizeof(au_hdr)) {
fprintf(stderr, "Failed to write header\n");
goto close;
}