projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b2aa776
)
Per suggestion by Pawel Sakowski, fix the dash_arith() prototype
author
Eric Andersen
<andersen@codepoet.org>
Mon, 5 Apr 2004 13:24:07 +0000
(13:24 -0000)
committer
Eric Andersen
<andersen@codepoet.org>
Mon, 5 Apr 2004 13:24:07 +0000
(13:24 -0000)
to return a long. We were needlessly truncating to an int.
shell/ash.c
patch
|
blob
|
history
diff --git
a/shell/ash.c
b/shell/ash.c
index 5072528f43090f749a716684dd6b5f558300eac3..5ebc8acedd6b6f7599b353a602021429715a8e14 100644
(file)
--- a/
shell/ash.c
+++ b/
shell/ash.c
@@
-1446,7
+1446,7
@@
static void defun(char *, union node *);
static void unsetfunc(const char *);
#ifdef CONFIG_ASH_MATH_SUPPORT
-static
int
dash_arith(const char *);
+static
long
dash_arith(const char *);
#endif
#ifdef CONFIG_ASH_RANDOM_SUPPORT
@@
-12475,7
+12475,7
@@
static int timescmd(int ac, char **av)
}
#ifdef CONFIG_ASH_MATH_SUPPORT
-static
int
+static
long
dash_arith(const char *s)
{
long result;