1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Int vs Long cleanup #3 (ruby-core:352)

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2754 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
michal 2002-08-28 08:05:23 +00:00
parent 3685a85b3d
commit 0d0ae37e50
13 changed files with 95 additions and 97 deletions

12
util.c
View file

@ -27,9 +27,9 @@ char *strchr _((char*,char));
unsigned long
scan_oct(start, len, retlen)
const char *start;
int len;
int *retlen;
const char *start;
int len;
int *retlen;
{
register const char *s = start;
register unsigned long retval = 0;
@ -44,9 +44,9 @@ int *retlen;
unsigned long
scan_hex(start, len, retlen)
const char *start;
int len;
int *retlen;
const char *start;
int len;
int *retlen;
{
static char hexdigit[] = "0123456789abcdef0123456789ABCDEF";
register const char *s = start;