public inbox for util-linux@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] libblkid: fix compiler warning [smatch]
@ 2013-10-07 22:04 Sami Kerola
  2013-10-07 22:04 ` [PATCH 2/2] various: fix mixing declarations and code compiler warnings [smatch] Sami Kerola
  2013-10-08 13:52 ` [PATCH 1/2] libblkid: fix compiler warning [smatch] Karel Zak
  0 siblings, 2 replies; 4+ messages in thread
From: Sami Kerola @ 2013-10-07 22:04 UTC (permalink / raw)
  To: util-linux; +Cc: kerolasa

warning: overflow in implicit constant conversion

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
---
 libblkid/src/superblocks/bcache.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libblkid/src/superblocks/bcache.c b/libblkid/src/superblocks/bcache.c
index 303f7ee..f5a8ce6 100644
--- a/libblkid/src/superblocks/bcache.c
+++ b/libblkid/src/superblocks/bcache.c
@@ -20,7 +20,7 @@
 #define node(i, j)         ((i)->d + (j))
 #define end(i)             node(i, (i)->keys)
 
-static const char bcache_magic[] = {
+static const unsigned char bcache_magic[] = {
 	0xc6, 0x85, 0x73, 0xf6, 0x4e, 0x1a, 0x45, 0xca,
 	0x82, 0x65, 0xf5, 0x7f, 0x48, 0xba, 0x6d, 0x81
 };
-- 
1.8.4


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-10-08 13:55 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-07 22:04 [PATCH 1/2] libblkid: fix compiler warning [smatch] Sami Kerola
2013-10-07 22:04 ` [PATCH 2/2] various: fix mixing declarations and code compiler warnings [smatch] Sami Kerola
2013-10-08 13:55   ` Karel Zak
2013-10-08 13:52 ` [PATCH 1/2] libblkid: fix compiler warning [smatch] Karel Zak

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox