Skip to content

Commit

Permalink
Use unsigned char for memset
Browse files Browse the repository at this point in the history
  • Loading branch information
evanmiller committed Apr 10, 2015
1 parent 69d5751 commit f6bdca4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/readstat_sas.c
Original file line number Diff line number Diff line change
Expand Up @@ -627,7 +627,7 @@ static readstat_error_t sas_parse_subheader_rle(const char *subheader, size_t le
unsigned char length = (control & 0x0F);
int copy_len = 0;
int insert_len = 0;
char insert_byte = '\0';
unsigned char insert_byte = '\0';
switch (command) {
case SAS_RLE_COMMAND_COPY64:
copy_len = (*input++) + 64 + length * 256;
Expand Down

0 comments on commit f6bdca4

Please sign in to comment.