summaryrefslogtreecommitdiff
path: root/source3/smbd/statcache.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/smbd/statcache.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/smbd/statcache.c')
-rw-r--r--source3/smbd/statcache.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/smbd/statcache.c b/source3/smbd/statcache.c
index 76406f208e..d996f5e493 100644
--- a/source3/smbd/statcache.c
+++ b/source3/smbd/statcache.c
@@ -119,8 +119,8 @@ void stat_cache_add( const char *full_orig_name, const char *orig_translated_pat
if (original_path_length != translated_path_length) {
if (original_path_length < translated_path_length) {
- DEBUG(0, ("OOPS - tried to store stat cache entry for weird length paths [%s] %u and [%s] %u)!\n",
- original_path, original_path_length, translated_path, translated_path_length));
+ DEBUG(0, ("OOPS - tried to store stat cache entry for weird length paths [%s] %lu and [%s] %lu)!\n",
+ original_path, (unsigned long)original_path_length, translated_path, (unsigned long)translated_path_length));
SAFE_FREE(original_path);
SAFE_FREE(translated_path);
return;