commit | 4ce78cae9ec80c4285809de08a26c7df5258520a | [log] [tgz] |
---|---|---|
author | Lev Walkin <vlm@lionet.info> | Wed Aug 25 01:34:11 2004 +0000 |
committer | Lev Walkin <vlm@lionet.info> | Wed Aug 25 01:34:11 2004 +0000 |
tree | 9901eb4852901350f45c88f897b7650b4bc81e5e | |
parent | c7d17be4587edfb4fb3d7d1f0b50f286aac311f9 [diff] [blame] |
avoided compilation warnings on gcc 3.3.x systems
diff --git a/skeletons/constr_CHOICE.c b/skeletons/constr_CHOICE.c index 140e365..cec0b8a 100644 --- a/skeletons/constr_CHOICE.c +++ b/skeletons/constr_CHOICE.c
@@ -31,7 +31,7 @@ */ #define ADVANCE(num_bytes) do { \ size_t num = num_bytes; \ - (char *)ptr += num; \ + ptr = ((char *)ptr) + num; \ size -= num; \ if(ctx->left >= 0) \ ctx->left -= num; \