Skip to content

Commit

Permalink
no need for casting
Browse files Browse the repository at this point in the history
  • Loading branch information
Jérôme Lebel committed Oct 8, 2014
1 parent 3a4d920 commit db37ac5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bson/b64_ntop.h
Original file line number Diff line number Diff line change
Expand Up @@ -180,5 +180,5 @@ b64_ntop (uint8_t const *src,
return -1;
}
target[datalength] = '\0'; /* Returned value doesn't count \0. */
return (int)datalength;
return datalength;
}

0 comments on commit db37ac5

Please sign in to comment.