aboutsummaryrefslogtreecommitdiff
path: root/stdlib/a64l.c
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/a64l.c')
-rw-r--r--stdlib/a64l.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/stdlib/a64l.c b/stdlib/a64l.c
index 9d462c77f3..d1dd3a9b6b 100644
--- 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;
}