Merge tag 'upstream/1.2.0' into tizen_base
[platform/upstream/libsndfile.git] / src / aiff.c
index df42d18..38920b2 100644 (file)
@@ -398,7 +398,7 @@ aiff_read_header (SF_PRIVATE *psf, COMM_CHUNK *comm_fmt)
        char            *cptr ;
        int                     instr_found = 0, mark_found = 0 ;
 
-       if (psf->filelength > SF_PLATFORM_S64 (0xffffffff))
+       if (psf->filelength > 0xFFFFFFFFLL)
                psf_log_printf (psf, "Warning : filelength > 0xffffffff. This is bad!!!!\n") ;
 
        if ((paiff = psf->container_data) == NULL)