Browse Source

Do these ops in the right order here. First of many fixes for

bug #52550
experimental/with_scalar_types
Rasmus Lerdorf 16 years ago
parent
commit
31e6390ae5
  1. 2
      ext/standard/var_unserializer.re

2
ext/standard/var_unserializer.re

@ -231,7 +231,7 @@ static inline long parse_iv2(const unsigned char *p, const unsigned char **q)
while (1) {
cursor = (char)*p;
if (cursor >= '0' && cursor <= '9') {
result = result * 10 + cursor - '0';
result = result * 10 + (size_t)(cursor - (unsigned char)'0');
} else {
break;
}

Loading…
Cancel
Save