Permalink
Browse files

(rasqal_digest_buffer): Fixed integer conversion warning

  • Loading branch information...
1 parent afe24f1 commit 2e16722e424735adf9738c7d77ded1c720cc961a @laalto laalto committed Feb 28, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/rasqal_digest.c
View
@@ -257,7 +257,7 @@ int
rasqal_digest_buffer(rasqal_digest_type type, const unsigned char *output,
const unsigned char *input, size_t len)
{
- unsigned int output_len = -1;
+ int output_len = -1;
if(type != RASQAL_DIGEST_SHA1 && type != RASQAL_DIGEST_MD5)
return -1;

0 comments on commit 2e16722

Please sign in to comment.