XEmacs 21.4.9 "Informed Management".
[chise/xemacs-chise.git.1] / src / nas.c
index bc473aa..7fe1295 100644 (file)
--- a/src/nas.c
+++ b/src/nas.c
@@ -884,7 +884,7 @@ WaveOpenDataForReading (const char *data,
 
     fileSize = PAD2(ck.ckSize) - sizeof(RIFF_FOURCC);
 
-    while (fileSize >= sizeof(RiffChunk))
+    while (fileSize >= (AuInt32) sizeof(RiffChunk))
     {
        if (!readChunk(&ck))
            Err();