]> granicus.if.org Git - file/commitdiff
don't use c99 features
authorChristos Zoulas <christos@zoulas.com>
Thu, 7 Feb 2008 03:10:20 +0000 (03:10 +0000)
committerChristos Zoulas <christos@zoulas.com>
Thu, 7 Feb 2008 03:10:20 +0000 (03:10 +0000)
src/ascmagic.c

index c26cf7f565b0ca773256b47df0c0df66d58d0e3c..94468a829de9907ebea4e94bd7d7f836537bade5 100644 (file)
@@ -49,7 +49,7 @@
 #include "names.h"
 
 #ifndef        lint
-FILE_RCSID("@(#)$File: ascmagic.c,v 1.56 2008/02/07 03:05:02 christos Exp $")
+FILE_RCSID("@(#)$File: ascmagic.c,v 1.57 2008/02/07 03:10:20 christos Exp $")
 #endif /* lint */
 
 typedef unsigned long unichar;
@@ -571,7 +571,7 @@ looks_utf8_with_header(const unsigned char *buf, size_t nbytes, unichar *ubuf,
        if (nbytes > 3 && buf[0] == 0xef && buf[1] == 0xbb && buf[2] == 0xbf)
                return looks_utf8(buf + 3, nbytes - 3, ubuf, ulen);
        else
-               return false;
+               return 0;
 }
 
 private int