Skip to content

Commit

Permalink
Fixed issue 578 - corrected type usage
Browse files Browse the repository at this point in the history
  • Loading branch information
hintjens committed Nov 4, 2013
1 parent 2949f2d commit aede37e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/zmq_utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -148,8 +148,8 @@ uint8_t *zmq_z85_decode (uint8_t *dest, char *string)
}
unsigned int byte_nbr = 0;
unsigned int char_nbr = 0;
unsigned int string_len = strlen (string);
uint32_t value = 0;
uint string_len = strlen (string);
while (char_nbr < string_len) {
// Accumulate value in base 85
value = value * 85 + decoder [(uint8_t) string [char_nbr++] - 32];
Expand Down

0 comments on commit aede37e

Please sign in to comment.