Skip to content

Commit

Permalink
core: parse fline - cast number to char for print to avoid compile wa…
Browse files Browse the repository at this point in the history
…rning
  • Loading branch information
miconda committed Jun 30, 2017
1 parent f461081 commit ccb368e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/parser/parse_fline.c
Expand Up @@ -248,7 +248,7 @@ char* parse_first_line(char* buffer, unsigned int len, struct msg_start* fl)
if (prn) {
for (t=0; t<offset; t++)
if (*(buffer+t)) *(prn+t)=*(buffer+t);
else *(prn+t)=176; /* '°' */
else *(prn+t)=(char)176; /* '°' */
LOG(L_DBG, "parsed so far: %.*s\n", offset, ZSW(prn) );
pkg_free( prn );
};
Expand Down

0 comments on commit ccb368e

Please sign in to comment.