Mercurial > pidgin.yaz
comparison src/util.c @ 5451:e1cc0c67e123
[gaim-migrate @ 5839]
some compile cleanups, and more importantly, the rest of that tobase16 fix
that I forgot about
committer: Tailor Script <tailor@pidgin.im>
author | Nathan Walp <nwalp@pidgin.im> |
---|---|
date | Tue, 20 May 2003 01:31:56 +0000 |
parents | bb1e160467b6 |
children | 3c7748b24410 |
comparison
equal
deleted
inserted
replaced
5450:bb1e160467b6 | 5451:e1cc0c67e123 |
---|---|
465 } | 465 } |
466 | 466 |
467 /* | 467 /* |
468 * Converts raw data to a pretty, null-terminated base16 string. | 468 * Converts raw data to a pretty, null-terminated base16 string. |
469 */ | 469 */ |
470 char *tobase16(const char *data, int length) | 470 unsigned char *tobase16(const unsigned char *data, int length) |
471 { | 471 { |
472 int i; | 472 int i; |
473 unsigned char *ascii = NULL; | 473 unsigned char *ascii = NULL; |
474 | 474 |
475 if (!data || !length) | 475 if (!data || !length) |