summaryrefslogtreecommitdiff
path: root/source3/lib/util.c
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2003-11-05 18:28:29 +0000
committerTim Potter <tpot@samba.org>2003-11-05 18:28:29 +0000
commitf59bd268945960ddd90fccf7cf7b077e1bdf41f2 (patch)
treecb87a6a1571685f796e4b0a2b499d80d23535a81 /source3/lib/util.c
parent150fb8ea588d012a31837884d2843ad3040ce0c9 (diff)
downloadsamba-f59bd268945960ddd90fccf7cf7b077e1bdf41f2.tar.gz
samba-f59bd268945960ddd90fccf7cf7b077e1bdf41f2.tar.bz2
samba-f59bd268945960ddd90fccf7cf7b077e1bdf41f2.zip
Merge of 64-bit printf warning fixes.
(This used to be commit a6cc763333943bc6e360bb7e78cf9bfb1bc936e8)
Diffstat (limited to 'source3/lib/util.c')
-rw-r--r--source3/lib/util.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/lib/util.c b/source3/lib/util.c
index 766c5041b4..ce1389c8e9 100644
--- a/source3/lib/util.c
+++ b/source3/lib/util.c
@@ -1404,7 +1404,8 @@ void smb_panic(const char *why)
backtrace_size = backtrace(backtrace_stack,BACKTRACE_STACK_SIZE);
backtrace_strings = backtrace_symbols(backtrace_stack, backtrace_size);
- DEBUG(0, ("BACKTRACE: %d stack frames:\n", backtrace_size));
+ DEBUG(0, ("BACKTRACE: %lu stack frames:\n",
+ (unsigned long)backtrace_size));
if (backtrace_strings) {
int i;