projects
/
util-vserver.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
added isnumber.c testcase which checks the isNumber() and
[util-vserver.git]
/
util-vserver
/
src
/
stack-start.h
diff --git
a/util-vserver/src/stack-start.h
b/util-vserver/src/stack-start.h
index
53aa8c6
..
1c9b23f
100644
(file)
--- a/
util-vserver/src/stack-start.h
+++ b/
util-vserver/src/stack-start.h
@@
-22,7
+22,7
@@
#ifdef HAVE_GROWING_STACK
# define STACK_START(PTR) (PTR)
#else
-# define STACK_START(PTR) ((PTR)+sizeof(PTR)/sizeof(PTR[0]))
+# define STACK_START(PTR) ((PTR)+sizeof(PTR)/sizeof(PTR[0])-1)
#endif
#endif // H_UTIL_VSERVER_SRC_STACK_START_H