summaryrefslogtreecommitdiff
path: root/source3/lib/util_str.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2011-02-09 10:43:56 -0800
committerJeremy Allison <jra@samba.org>2011-02-09 21:21:04 +0100
commitc377b0e71893e2c054a179aa6e3f8c6742be0371 (patch)
tree0c0b8025b61fdede776a4e84f78002a7fdcf8437 /source3/lib/util_str.c
parent344e4cd2801805faf38b86f7f33b05e204452532 (diff)
downloadsamba-c377b0e71893e2c054a179aa6e3f8c6742be0371.tar.gz
samba-c377b0e71893e2c054a179aa6e3f8c6742be0371.tar.bz2
samba-c377b0e71893e2c054a179aa6e3f8c6742be0371.zip
Fix up some buildfarm warnings.
Diffstat (limited to 'source3/lib/util_str.c')
-rw-r--r--source3/lib/util_str.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/util_str.c b/source3/lib/util_str.c
index fcc4b8d54c..6edf64deea 100644
--- a/source3/lib/util_str.c
+++ b/source3/lib/util_str.c
@@ -2020,7 +2020,7 @@ char *base64_encode_data_blob(TALLOC_CTX *mem_ctx, DATA_BLOB data)
uint64_t STR_TO_SMB_BIG_UINT(const char *nptr, const char **entptr)
{
- uint64_t val = -1;
+ uint64_t val = (uint64_t)-1;
const char *p = nptr;
if (!p) {