diff options
author | Andrew Tridgell <tridge@samba.org> | 1998-10-05 12:36:23 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 1998-10-05 12:36:23 +0000 |
commit | a2297c720388bd098394552590dd9120622f97c5 (patch) | |
tree | 8b9dc0cc18c0b9e38b6082cf63b082bde1f16c03 /source3/smbd/dir.c | |
parent | b79773d3c71182c981af7dbf14b775bb83be52c8 (diff) | |
download | samba-a2297c720388bd098394552590dd9120622f97c5.tar.gz samba-a2297c720388bd098394552590dd9120622f97c5.tar.bz2 samba-a2297c720388bd098394552590dd9120622f97c5.zip |
fixed some cast warnings from "cc -64" on IRIX
(This used to be commit 624097e8f4a104393865ee100e884f000ca3f6df)
Diffstat (limited to 'source3/smbd/dir.c')
-rw-r--r-- | source3/smbd/dir.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/source3/smbd/dir.c b/source3/smbd/dir.c index 03864334eb..da907b27a2 100644 --- a/source3/smbd/dir.c +++ b/source3/smbd/dir.c @@ -355,7 +355,8 @@ BOOL dptr_fill(char *buf1,unsigned int key) return(False); } offset = TellDir(p); - DEBUG(6,("fill on key %d dirptr 0x%x now at %d\n",key,(unsigned)p,offset)); + DEBUG(6,("fill on key %ld dirptr 0x%x now at %d\n",key, + (long)p,offset)); buf[0] = key; SIVAL(buf,1,offset | DPTR_MASK); return(True); @@ -446,8 +447,8 @@ BOOL get_dir_entry(connection_struct *conn,char *mask,int dirtype,char *fname, { dname = ReadDirName(conn->dirptr); - DEBUG(6,("readdir on dirptr 0x%x now at offset %d\n", - (unsigned)conn->dirptr,TellDir(conn->dirptr))); + DEBUG(6,("readdir on dirptr 0x%lx now at offset %d\n", + (long)conn->dirptr,TellDir(conn->dirptr))); if (dname == NULL) return(False); |