--- gcc/c-incpath.c.orig	2011-07-06 23:13:30.000000000 -0700
+++ gcc/c-incpath.c	2011-07-06 23:14:34.000000000 -0700
@@ -236,7 +236,7 @@ hmap_load_header_map (const char *filepa
 	  /* If it is a regular file and if it is large enough to be a header-
 	     map, see if it really is one. */
 	  if (fstat (fileno (f), &f_info) == 0 && S_ISREG(f_info.st_mode)
-	    && f_info.st_size >= sizeof(struct hmap_header_map))
+	    && f_info.st_size >= (off_t)sizeof(struct hmap_header_map))
 	    {
 	      unsigned   headermap_size = f_info.st_size;
 
