mirror of
https://github.com/samba-team/samba.git
synced 2025-01-17 02:05:21 +03:00
fixed some cast warnings from "cc -64" on IRIX
This commit is contained in:
parent
469474803d
commit
624097e8f4
@ -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);
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user