commit | d86c925233a4524d676f9371a99612684d53917e | [log] [tgz] |
---|---|---|
author | vlm <vlm@59561ff5-6e30-0410-9f3c-9617f08c8826> | Wed Aug 25 01:34:11 2004 +0000 |
committer | vlm <vlm@59561ff5-6e30-0410-9f3c-9617f08c8826> | Wed Aug 25 01:34:11 2004 +0000 |
tree | 9901eb4852901350f45c88f897b7650b4bc81e5e | |
parent | a47b5f886f64bb92a09b711db7867bd96552c2f0 [diff] [blame] |
avoided compilation warnings on gcc 3.3.x systems git-svn-id: https://asn1c.svn.sourceforge.net/svnroot/asn1c/trunk@212 59561ff5-6e30-0410-9f3c-9617f08c8826
diff --git a/skeletons/constr_SET.c b/skeletons/constr_SET.c index ba42a4f..67816a7 100644 --- a/skeletons/constr_SET.c +++ b/skeletons/constr_SET.c
@@ -37,7 +37,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; \