[PATCH] 2.5.72 smb_proc_setattr_unix warnings

From: Flameeyes (daps_mls@libero.it)
Date: Tue Jun 17 2003 - 06:15:57 EST


This patch fixes these warnings:

  CC fs/smbfs/proc.o
fs/smbfs/proc.c: In function `smb_proc_setattr_unix':
fs/smbfs/proc.c:3044: warning: integer constant is too large for "long"
type
fs/smbfs/proc.c:3045: warning: integer constant is too large for "long"
type
fs/smbfs/proc.c:3046: warning: integer constant is too large for "long"
type
fs/smbfs/proc.c:3047: warning: integer constant is too large for "long"
type
fs/smbfs/proc.c:3048: warning: integer constant is too large for "long"
type

it simply adds the ULL attr at the end of the constants in
include/linux/smbno.h

-- 
Flameeyes <dgp85@users.sf.net>

350,351c350,351 < #define SMB_TIME_NO_CHANGE 0xFFFFFFFFFFFFFFFF < #define SMB_SIZE_NO_CHANGE 0xFFFFFFFFFFFFFFFF

---
> #define SMB_TIME_NO_CHANGE		0xFFFFFFFFFFFFFFFFULL
> #define SMB_SIZE_NO_CHANGE		0xFFFFFFFFFFFFFFFFULL

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Jun 23 2003 - 22:00:20 EST