summaryrefslogtreecommitdiffstats
path: root/Objects
diff options
context:
space:
mode:
Diffstat (limited to 'Objects')
-rw-r--r--Objects/intobject.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Objects/intobject.c b/Objects/intobject.c
index 76d9145..1f1298f 100644
--- a/Objects/intobject.c
+++ b/Objects/intobject.c
@@ -721,7 +721,7 @@ static object *
int_oct(v)
intobject *v;
{
- char buf[20];
+ char buf[100];
long x = v -> ob_ival;
if (x == 0)
strcpy(buf, "0");
@@ -734,7 +734,7 @@ static object *
int_hex(v)
intobject *v;
{
- char buf[20];
+ char buf[100];
long x = v -> ob_ival;
sprintf(buf, "0x%lx", x);
return newstringobject(buf);