avoided compilation warnings on gcc 3.3.x systems

diff --git a/skeletons/OCTET_STRING.c b/skeletons/OCTET_STRING.c
index 8ea360d..6e0e426 100644
--- a/skeletons/OCTET_STRING.c
+++ b/skeletons/OCTET_STRING.c
@@ -37,11 +37,11 @@
 #define	NEXT_PHASE(ctx)	_CH_PHASE(ctx, +1)
 #define	PREV_PHASE(ctx)	_CH_PHASE(ctx, -1)
 
-#define	ADVANCE(num_bytes)	do {	\
-		size_t num = num_bytes;	\
-		(char *)buf_ptr += num;	\
-		size -= num;		\
-		consumed_myself += num;	\
+#define	ADVANCE(num_bytes)	do {			\
+		size_t num = num_bytes;			\
+		buf_ptr = ((char *)buf_ptr) + num;	\
+		size -= num;				\
+		consumed_myself += num;			\
 	} while(0)
 
 #define	RETURN(_code)	do {			\