changeset 32166:e9c91deb192e

Cast return value to long instead of int in byte order check. This avoids the following warning on 64 bit systems: tmp.c:3: warning: cast from pointer to integer of different size
author diego
date Wed, 15 Sep 2010 09:25:20 +0000
parents 79c75e3076c5
children 41c11d96b5db
files configure
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Tue Sep 14 17:20:49 2010 +0000
+++ b/configure	Wed Sep 15 09:25:20 2010 +0000
@@ -2449,7 +2449,7 @@
   cat > $TMPC <<EOF
 short ascii_name[] = { (('M'<<8)|'P'),(('l'<<8)|'a'),(('y'<<8)|'e'),(('r'<<8)|'B'),
                        (('i'<<8)|'g'),(('E'<<8)|'n'),(('d'<<8)|'i'),(('a'<<8)|'n'),0};
-int main(void) { return (int)ascii_name; }
+int main(void) { return (long)ascii_name; }
 EOF
   if cc_check ; then
     if strings $TMPEXE | grep -q -l MPlayerBigEndian ; then