From 3a791cca56be77b8918146921b0dfe270408a1e3 Mon Sep 17 00:00:00 2001 From: rfm Date: Wed, 14 Apr 2010 10:36:15 +0000 Subject: [PATCH] Fix objc_skip_offset() to avoid skipping and extra character git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/libobjc/trunk@30149 72102866-910b-0410-8b05-ffd578937521 --- encoding.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/encoding.c b/encoding.c index cde5125..70908c4 100644 --- a/encoding.c +++ b/encoding.c @@ -698,8 +698,8 @@ objc_skip_offset (const char *type) { if (*type == '+') type++; - while (isdigit ((unsigned char) *++type)) - ; + while (isdigit ((unsigned char) *type)) + type++; return type; }