projects
/
kopensolaris-gnu
/
glibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aa3d9d8
)
Use unsigned type for working variable.
author
drepper
<drepper>
Wed, 29 Oct 1997 20:31:27 +0000
(20:31 +0000)
committer
drepper
<drepper>
Wed, 29 Oct 1997 20:31:27 +0000
(20:31 +0000)
stdlib/a64l.c
patch
|
blob
|
history
diff --git
a/stdlib/a64l.c
b/stdlib/a64l.c
index
9d462c7
..
d1dd3a9
100644
(file)
--- a/
stdlib/a64l.c
+++ b/
stdlib/a64l.c
@@
-24,7
+24,7
@@
a64l (string)
const char *string;
{
size_t cnt;
- long int result = 0l;
+
unsigned
long int result = 0l;
for (cnt = 0; cnt < 6; ++cnt)
{
@@
-50,5
+50,5
@@
a64l (string)
}
}
- return result;
+ return
(long int)
result;
}