* [PATCH] fs/xfs/xfs_bmap - gcc34 warning killed.
@ 2004-08-29 15:25 Paweł Sikora
0 siblings, 0 replies; only message in thread
From: Paweł Sikora @ 2004-08-29 15:25 UTC (permalink / raw)
To: linux-kernel
[-- Attachment #1: Type: text/plain, Size: 466 bytes --]
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
--
/* Copyright (C) 2003, SCO, Inc. This is valuable Intellectual Property. */
#define say(x) lie(x)
[-- Attachment #2: xfs_bmap.patch --]
[-- Type: text/x-diff, Size: 640 bytes --]
--- linux-2.6.9-rc1/fs/xfs/xfs_bmap.c.orig 2004-08-24 09:03:32.000000000 +0200
+++ linux-2.6.9-rc1/fs/xfs/xfs_bmap.c 2004-08-29 17:17:07.737547088 +0200
@@ -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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-08-29 15:25 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-08-29 15:25 [PATCH] fs/xfs/xfs_bmap - gcc34 warning killed Paweł Sikora
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.