diff options
author | John Wiegley <johnw@newartisans.com> | 2010-06-15 06:28:30 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2010-06-15 06:28:30 -0400 |
commit | be91f38ab4ccdba6006106d45fd7061db2110470 (patch) | |
tree | 25874de7e90c34224c842e6b716ca9e82fe01028 /src/utils.h | |
parent | f3bedb88b24ae8b2047ad86e57b161265c2812f5 (diff) | |
parent | 968a6f3c0ac4690a6fc74e8d84058bce91019c2e (diff) | |
download | ledger-be91f38ab4ccdba6006106d45fd7061db2110470.tar.gz ledger-be91f38ab4ccdba6006106d45fd7061db2110470.tar.bz2 ledger-be91f38ab4ccdba6006106d45fd7061db2110470.zip |
Merge branch 'next'
Diffstat (limited to 'src/utils.h')
-rw-r--r-- | src/utils.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/utils.h b/src/utils.h index 40fa57cc..a228d166 100644 --- a/src/utils.h +++ b/src/utils.h @@ -645,7 +645,7 @@ inline char peek_next_nonws(std::istream& in) { *_p = '\0'; \ } -inline string to_hex(uint_least32_t * message_digest, const int len = 1) +inline string to_hex(unsigned int * message_digest, const int len = 1) { std::ostringstream buf; @@ -664,7 +664,7 @@ inline string sha1sum(const string& str) SHA1 sha; sha.Reset(); sha << str.c_str(); - uint_least32_t message_digest[5]; + unsigned int message_digest[5]; sha.Result(message_digest); return to_hex(message_digest, 5); } |