X-Git-Url: http://git.linux-vserver.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=util-vserver%2Fsrc%2Fstack-start.h;h=1c9b23f0ef3c0a22cee21b9137f9a20cc730f50f;hb=090a340dad3e79a3ccfa6954c779f5abf71f0f60;hp=53aa8c6ce18aa0bc6daabf5a2bc934a946836a5b;hpb=0692b508de44595db941a2b98b5a73228a65e8fc;p=util-vserver.git diff --git a/util-vserver/src/stack-start.h b/util-vserver/src/stack-start.h index 53aa8c6..1c9b23f 100644 --- 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