pr36172.c: Replace unsigned long by __SIZE_TYPE__.
authorKai Tietz <kai.tietz@onevision.com>
Thu, 8 May 2008 08:53:39 +0000 (08:53 +0000)
committerKai Tietz <ktietz@gcc.gnu.org>
Thu, 8 May 2008 08:53:39 +0000 (10:53 +0200)
2008-05-08  Kai Tietz  <kai.tietz@onevision.com>

        * gcc.c-torture/compile/pr36172.c: Replace unsigned long by
        __SIZE_TYPE__.

From-SVN: r135076

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/compile/pr36172.c

index 2b137fa9988ea8a1872572d44e2ccf362efe4880..2647ea49f11ee4188fbe7004c906faa9792cc811 100644 (file)
@@ -1,3 +1,8 @@
+2008-05-08  Kai Tietz  <kai.tietz@onevision.com>
+
+        * gcc.c-torture/compile/pr36172.c: Replace unsigned long by
+        __SIZE_TYPE__.
+
 2008-05-08  Richard Guenther  <rguenther@suse.de>
 
        PR middle-end/36154
index 19f0950b16d1ba3f6f8328b33b617729e233b740..aaee377f5b4a2e716b093cd3f3889a0d7936f70d 100644 (file)
@@ -1,5 +1,5 @@
 int f(float * );
-unsigned long FcCharSetFreeze (int *fcs, int b)
+__SIZE_TYPE__ FcCharSetFreeze (int *fcs, int b)
 {
   int i;
   int a = 0;
@@ -12,6 +12,6 @@ unsigned long FcCharSetFreeze (int *fcs, int b)
     if (!a)
       return;
   }
-  return (unsigned long) fcs;
+  return (__SIZE_TYPE__) fcs;
 }