summaryrefslogtreecommitdiff
path: root/source3/smbd/trans2.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>1998-10-05 12:36:23 +0000
committerAndrew Tridgell <tridge@samba.org>1998-10-05 12:36:23 +0000
commita2297c720388bd098394552590dd9120622f97c5 (patch)
tree8b9dc0cc18c0b9e38b6082cf63b082bde1f16c03 /source3/smbd/trans2.c
parentb79773d3c71182c981af7dbf14b775bb83be52c8 (diff)
downloadsamba-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/trans2.c')
-rw-r--r--source3/smbd/trans2.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source3/smbd/trans2.c b/source3/smbd/trans2.c
index 6d2f61f5b9..c075ae6c1b 100644
--- a/source3/smbd/trans2.c
+++ b/source3/smbd/trans2.c
@@ -353,8 +353,8 @@ static int get_lanman2_dir_entry(connection_struct *conn,
reskey = 0;
- DEBUG(8,("get_lanman2_dir_entry:readdir on dirptr 0x%x now at offset %d\n",
- (unsigned)conn->dirptr,TellDir(conn->dirptr)));
+ DEBUG(8,("get_lanman2_dir_entry:readdir on dirptr 0x%lx now at offset %d\n",
+ (long)conn->dirptr,TellDir(conn->dirptr)));
if (!dname)
return(False);
@@ -905,9 +905,9 @@ resume_key = %d resume name = %s continue=%d level = %d\n",
/* Get the attr mask from the dptr */
dirtype = dptr_attr(dptr_num);
- DEBUG(3,("dptr_num is %d, mask = %s, attr = %x, dirptr=(0x%X,%d)\n",
+ DEBUG(3,("dptr_num is %d, mask = %s, attr = %x, dirptr=(0x%lX,%d)\n",
dptr_num, mask, dirtype,
- (unsigned)conn->dirptr,
+ (long)conn->dirptr,
TellDir(conn->dirptr)));
/* We don't need to check for VOL here as this is returned by