uh, type "uint" unknown here, using size_t instead.

This commit is contained in:
TLINDEN
2013-11-04 16:27:15 +01:00
parent 13aa3dd66c
commit ed51e57b9a

View File

@@ -91,7 +91,7 @@ uint8_t *zmq_z85_decode (uint8_t *dest, char *string)
unsigned int byte_nbr = 0;
unsigned int char_nbr = 0;
uint32_t value = 0;
uint string_len = strlen (string);
size_t string_len = strlen (string);
while (char_nbr < string_len) {
// Accumulate value in base 85
value = value * 85 + decoder [(uint8_t) string [char_nbr++] - 32];