Browse Source

Disallow minus symbol for unsignedInteger method

Serj Kalichev 11 years ago
parent
commit
36e963f3fc
1 changed files with 0 additions and 2 deletions
  1. 0 2
      clish/ptype/ptype.c

+ 0 - 2
clish/ptype/ptype.c

@@ -326,8 +326,6 @@ static char *clish_ptype_validate_or_translate(const clish_ptype_t * this,
 		/* first of all check that this is a number */
 		bool_t ok = BOOL_TRUE;
 		const char *p = result;
-		if (*p == '-')
-			p++;
 		while (*p) {
 			if (!lub_ctype_isdigit(*p++)) {
 				ok = BOOL_FALSE;