summaryrefslogtreecommitdiffstats
path: root/genwave.c
diff options
context:
space:
mode:
authorKarsten Keil2008-09-02 02:02:11 +0200
committerKarsten Keil2008-09-02 02:02:11 +0200
commit08aad9a8c5ad279759e0a870b1dd0d8159ce3444 (patch)
tree90dded99cc57d2149905871ecc6bfa1ece6fe701 /genwave.c
parentFix 64bit build (diff)
downloadlcr-08aad9a8c5ad279759e0a870b1dd0d8159ce3444.tar.gz
lcr-08aad9a8c5ad279759e0a870b1dd0d8159ce3444.tar.xz
lcr-08aad9a8c5ad279759e0a870b1dd0d8159ce3444.zip
Fix lot of warnings
Diffstat (limited to 'genwave.c')
-rw-r--r--genwave.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/genwave.c b/genwave.c
index c614a2e..b397d3c 100644
--- a/genwave.c
+++ b/genwave.c
@@ -119,7 +119,7 @@ void write_law(FILE *fp, char *name, char law)
fprintf(fp, "WAVE");
/* fmt */
- fprintf(fp, "fmt %c%c%c%c", sizeof(fmt), 0, 0, 0);
+ fprintf(fp, "fmt %c%c%c%c", (unsigned int)sizeof(fmt), 0, 0, 0);
fmt.stereo = 1;
fmt.channels = 1;
fmt.sample_rate = 8000;