summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2003-05-14 20:22:48 +0000
committerGerald Carter <jerry@samba.org>2003-05-14 20:22:48 +0000
commit7f256452c1571db0babe9dbbf7dda9bdd050d557 (patch)
tree58570a3dc7417c7c00d5a05a2ff52fc88b107497 /source3
parent8dbe3697f3a526407adda1059701bc5d60ef84f2 (diff)
downloadsamba-7f256452c1571db0babe9dbbf7dda9bdd050d557.tar.gz
samba-7f256452c1571db0babe9dbbf7dda9bdd050d557.tar.bz2
samba-7f256452c1571db0babe9dbbf7dda9bdd050d557.zip
fix quota build on non-64bit systems
(This used to be commit 227ac953386d0040c661cde85a5b23e10529fb0c)
Diffstat (limited to 'source3')
-rw-r--r--source3/smbd/nttrans.c6
-rw-r--r--source3/smbd/trans2.c4
2 files changed, 5 insertions, 5 deletions
diff --git a/source3/smbd/nttrans.c b/source3/smbd/nttrans.c
index 3bf162f763..d0066c367c 100644
--- a/source3/smbd/nttrans.c
+++ b/source3/smbd/nttrans.c
@@ -2155,7 +2155,7 @@ static int call_nt_transact_set_user_quota(connection_struct *conn,
#else /* LARGE_SMB_OFF_T */
if ((IVAL(pdata,20) != 0)&&
((qt.usedspace != 0xFFFFFFFF)||
- (IVAL(pdata,20)!=0xFFFFFFFF)))) {
+ (IVAL(pdata,20)!=0xFFFFFFFF))) {
/* more than 32 bits? */
return ERROR_DOS(ERRDOS,ERRunknownlevel);
}
@@ -2168,7 +2168,7 @@ static int call_nt_transact_set_user_quota(connection_struct *conn,
#else /* LARGE_SMB_OFF_T */
if ((IVAL(pdata,28) != 0)&&
((qt.softlim != 0xFFFFFFFF)||
- (IVAL(pdata,28)!=0xFFFFFFFF)))) {
+ (IVAL(pdata,28)!=0xFFFFFFFF))) {
/* more than 32 bits? */
return ERROR_DOS(ERRDOS,ERRunknownlevel);
}
@@ -2181,7 +2181,7 @@ static int call_nt_transact_set_user_quota(connection_struct *conn,
#else /* LARGE_SMB_OFF_T */
if ((IVAL(pdata,36) != 0)&&
((qt.hardlim != 0xFFFFFFFF)||
- (IVAL(pdata,36)!=0xFFFFFFFF)))) {
+ (IVAL(pdata,36)!=0xFFFFFFFF))) {
/* more than 32 bits? */
return ERROR_DOS(ERRDOS,ERRunknownlevel);
}
diff --git a/source3/smbd/trans2.c b/source3/smbd/trans2.c
index 0bf9580798..f43a65af5c 100644
--- a/source3/smbd/trans2.c
+++ b/source3/smbd/trans2.c
@@ -1657,7 +1657,7 @@ static int call_trans2setfsinfo(connection_struct *conn,
#else /* LARGE_SMB_OFF_T */
if ((IVAL(pdata,28) != 0)&&
((quotas.softlim != 0xFFFFFFFF)||
- (IVAL(pdata,28)!=0xFFFFFFFF)))) {
+ (IVAL(pdata,28)!=0xFFFFFFFF))) {
/* more than 32 bits? */
return ERROR_DOS(ERRDOS,ERRunknownlevel);
}
@@ -1670,7 +1670,7 @@ static int call_trans2setfsinfo(connection_struct *conn,
#else /* LARGE_SMB_OFF_T */
if ((IVAL(pdata,36) != 0)&&
((quotas.hardlim != 0xFFFFFFFF)||
- (IVAL(pdata,36)!=0xFFFFFFFF)))) {
+ (IVAL(pdata,36)!=0xFFFFFFFF))) {
/* more than 32 bits? */
return ERROR_DOS(ERRDOS,ERRunknownlevel);
}