diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2013-10-17 23:05:19 +0300 |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2013-10-17 23:05:19 +0300 |
commit | ae48164c19d799b10981ee6d48207f971be026cd (patch) | |
tree | 9d648169bfd47390b1ad883bc4b54590daaccdb1 /Python/mystrtoul.c | |
parent | a51097fdd9d0177b4d856ac1eaa59bc32fb49cc5 (diff) | |
parent | 68fc44960e7e678d7dd31f7676df51045d6a38f9 (diff) | |
download | cpython-ae48164c19d799b10981ee6d48207f971be026cd.tar.gz |
Issue #19276: Fixed the wave module on 64-bit big-endian platforms.
Diffstat (limited to 'Python/mystrtoul.c')
-rw-r--r-- | Python/mystrtoul.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Python/mystrtoul.c b/Python/mystrtoul.c index 8a54cbf403..725f07c9fe 100644 --- a/Python/mystrtoul.c +++ b/Python/mystrtoul.c @@ -92,11 +92,11 @@ static int digitlimit[] = { ** exceptions - we don't check for them. */ unsigned long -PyOS_strtoul(register char *str, char **ptr, int base) +PyOS_strtoul(char *str, char **ptr, int base) { - register unsigned long result = 0; /* return value of the function */ - register int c; /* current input character */ - register int ovlimit; /* required digits to overflow */ + unsigned long result = 0; /* return value of the function */ + int c; /* current input character */ + int ovlimit; /* required digits to overflow */ /* skip leading white space */ while (*str && Py_ISSPACE(Py_CHARMASK(*str))) @@ -213,7 +213,7 @@ PyOS_strtoul(register char *str, char **ptr, int base) if (ovlimit > 0) /* no overflow check required */ result = result * base + c; else { /* requires overflow check */ - register unsigned long temp_result; + unsigned long temp_result; if (ovlimit < 0) /* guaranteed overflow */ goto overflowed; |