summaryrefslogtreecommitdiff
path: root/lib/replace
diff options
context:
space:
mode:
authorBjörn Jacke <bj@sernet.de>2012-07-04 10:33:58 +0200
committerBjoern Jacke <bj@sernet.de>2012-07-04 12:01:20 +0200
commitfa98ef112b09083675afcedae3617742a0f9d5e7 (patch)
tree0b705c6c997de123f76a4f6f6f046f3a559e1b61 /lib/replace
parentb40fb6eec55cecc30d7500bb6b9799e2e9324f44 (diff)
downloadsamba-fa98ef112b09083675afcedae3617742a0f9d5e7.tar.gz
samba-fa98ef112b09083675afcedae3617742a0f9d5e7.tar.bz2
samba-fa98ef112b09083675afcedae3617742a0f9d5e7.zip
replace: make the INT64_MAX define more portable
Diffstat (limited to 'lib/replace')
-rw-r--r--lib/replace/replace.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/replace/replace.h b/lib/replace/replace.h
index 40e0648a7a..fa7cc78fa4 100644
--- a/lib/replace/replace.h
+++ b/lib/replace/replace.h
@@ -587,7 +587,7 @@ int rep_strerror_r(int errnum, char *buf, size_t buflen);
#endif
#ifndef INT64_MAX
-#define INT64_MAX 9223372036854775807
+#define INT64_MAX 9223372036854775807LL
#endif
#ifndef CHAR_BIT