Skip to contentSkip to conversation

fs/xfs/xfs_bmap - gcc34 warning killed.

PATCH New Paweł Sikora 1 participant 1 message Aug 29, 2004 XFS filesystem

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fs/xfs/xfs_bmap - gcc34 warning killed.

CC [M]  fs/xfs/xfs_bmap.o
fs/xfs/xfs_bmap.c: In function `xfs_bmap_do_search_extents':
fs/xfs/xfs_bmap.c:3434: warning: integer constant is too large for "long" type fs/xfs/xfs_bmap.c:3435: warning: integer constant is too large for "long" type fs/xfs/xfs_bmap.c:3439: warning: integer constant is too large for "long" type

Signature · 3 lines
/* Copyright (C) 2003, SCO, Inc. This is valuable Intellectual Property. */

                           #define say(x) lie(x)
fs/xfs/xfs_bmap.c renamed from fs/xfs/xfs_bmap.c.orig +3 -3
@@ -3431,12 +3431,12 @@
 	* uninitialized br_startblock field.
 	*/
 
-        got.br_startoff = 0xffa5a5a5a5a5a5a5;
-        got.br_blockcount = 0xa55a5a5a5a5a5a5a;
+        got.br_startoff = 0xffa5a5a5a5a5a5a5ULL;
+        got.br_blockcount = 0xa55a5a5a5a5a5a5aULL;
         got.br_state = XFS_EXT_INVALID;
 
 	#if XFS_BIG_BLKNOS
-        	got.br_startblock = 0xffffa5a5a5a5a5a5;
+        	got.br_startblock = 0xffffa5a5a5a5a5a5ULL;
 	#else
 		got.br_startblock = 0xffffa5a5;
 	#endif