summaryrefslogtreecommitdiff
path: root/doio.c
diff options
context:
space:
mode:
authorChip Salzenberg <chip@perl.com>1997-02-22 02:59:31 +1200
committerChip Salzenberg <chip@atlantic.net>1997-02-22 02:41:53 +1200
commitc030ccd9d6ca0638398c27d7169051214732a502 (patch)
tree61d52861454e1da56f33e2907cce0afbe114d43b /doio.c
parent16ddee0dc82748918bb875d781b3839ea2e6d9ee (diff)
downloadperl-c030ccd9d6ca0638398c27d7169051214732a502.tar.gz
Don't assume that sizeof(int) >= sizeof(void*)
Diffstat (limited to 'doio.c')
-rw-r--r--doio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/doio.c b/doio.c
index 14ecf1a47d..0db0e1acf1 100644
--- a/doio.c
+++ b/doio.c
@@ -1376,7 +1376,7 @@ SV **sp;
}
else
{
- I32 i = SvIV(astr);
+ IV i = SvIV(astr);
a = (char *)i; /* ouch */
}
SETERRNO(0,0);