summaryrefslogtreecommitdiff
path: root/regress/gnu/egcs
diff options
context:
space:
mode:
authorAnil Madhavapeddy <avsm@cvs.openbsd.org>2004-04-03 10:24:50 +0000
committerAnil Madhavapeddy <avsm@cvs.openbsd.org>2004-04-03 10:24:50 +0000
commitdbe2a87a0667a4f98f2b1d1f2e931d8a2939b05d (patch)
treec8cffd78139cd8d07ba6d66609533745b6af0a8a /regress/gnu/egcs
parente5f7ee6f17aecaa514bc18445c9e3eda25a94187 (diff)
use a constant sized type so regress doesnt fail on 64-bit
Diffstat (limited to 'regress/gnu/egcs')
-rw-r--r--regress/gnu/egcs/gcc-bounds/fread-4.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/regress/gnu/egcs/gcc-bounds/fread-4.c b/regress/gnu/egcs/gcc-bounds/fread-4.c
index 64c9f3c6574..e2b5b6351ed 100644
--- a/regress/gnu/egcs/gcc-bounds/fread-4.c
+++ b/regress/gnu/egcs/gcc-bounds/fread-4.c
@@ -3,6 +3,6 @@
int main(int argc, char **argv) {
char buf[100];
FILE *fp;
- fread(buf, sizeof(long), sizeof(buf), fp);
+ fread(buf, sizeof(uint32_t), sizeof(buf), fp);
return 1;
}