summaryrefslogtreecommitdiffstats
path: root/source/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
commit91597c12fb593f49b23c7cea5b64dbb89a0428b3 (patch)
tree8f7a839029de12844d40490849bad9d2eb0447ae /source/smbd/dir.c
parent230e4eb3dd9753899564fd6ec0e0291ee00be8c4 (diff)
downloadsamba-91597c12fb593f49b23c7cea5b64dbb89a0428b3.tar.gz
samba-91597c12fb593f49b23c7cea5b64dbb89a0428b3.tar.xz
samba-91597c12fb593f49b23c7cea5b64dbb89a0428b3.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
Diffstat (limited to 'source/smbd/dir.c')
-rw-r--r--source/smbd/dir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/smbd/dir.c b/source/smbd/dir.c
index da907b27a20..4b1a58016c0 100644
--- a/source/smbd/dir.c
+++ b/source/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);