fix check for 32-bit integers if short is 32 bits long
authorSimon McVittie <simon.mcvittie@collabora.co.uk>
Wed, 19 Jan 2011 14:09:33 +0000 (14:09 +0000)
committerSimon McVittie <simon.mcvittie@collabora.co.uk>
Tue, 25 Jan 2011 13:17:44 +0000 (13:17 +0000)
In practice, this won't happen for years, but we might as well be correct.

Reviewed-by: Will Thompson <will.thompson@collabora.co.uk>
configure.in

index 9debe3b..9aeb159 100644 (file)
@@ -302,7 +302,7 @@ AC_MSG_CHECKING([32-bit integer type])
 
 case 4 in
 $ac_cv_sizeof_short)
-  dbusint32=int
+  dbusint32=short
   ;;
 $ac_cv_sizeof_int)
   dbusint32=int