summaryrefslogtreecommitdiff
path: root/source3/smbd/dir.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>1998-10-08 06:21:33 +0000
committerAndrew Tridgell <tridge@samba.org>1998-10-08 06:21:33 +0000
commit788263ba2f749c5bb1546ca6c9363fd508e94280 (patch)
treef5b278f2db2295ad17ec2c0ac824ce52c809cb2c /source3/smbd/dir.c
parent60877fdd8d19015214396de02f62b5ff999199f3 (diff)
downloadsamba-788263ba2f749c5bb1546ca6c9363fd508e94280.tar.gz
samba-788263ba2f749c5bb1546ca6c9363fd508e94280.tar.bz2
samba-788263ba2f749c5bb1546ca6c9363fd508e94280.zip
- fixed a bunch of warnings and minor errors
- got smbtorture to compile - removed %D from some of lukes code - Luke, what is %D? it ain't portable anyway (This used to be commit 91597c12fb593f49b23c7cea5b64dbb89a0428b3)
Diffstat (limited to 'source3/smbd/dir.c')
-rw-r--r--source3/smbd/dir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/dir.c b/source3/smbd/dir.c
index da907b27a2..4b1a58016c 100644
--- a/source3/smbd/dir.c
+++ b/source3/smbd/dir.c
@@ -356,7 +356,7 @@ BOOL dptr_fill(char *buf1,unsigned int key)
}
offset = TellDir(p);
DEBUG(6,("fill on key %ld dirptr 0x%x now at %d\n",key,
- (long)p,offset));
+ (long)p,(int)offset));
buf[0] = key;
SIVAL(buf,1,offset | DPTR_MASK);
return(True);