From 4e1eba58aa96e7ddaddf4d6b3005f016874f1009 Mon Sep 17 00:00:00 2001 From: Sebastien Fabbro Date: Wed, 24 Jul 2013 09:45:26 -0700 Subject: [PATCH] Fixed aliasing --- driver/others/init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/driver/others/init.c b/driver/others/init.c index 4efc2816a..44ae61579 100644 --- a/driver/others/init.c +++ b/driver/others/init.c @@ -315,7 +315,7 @@ static int numa_check(void) { } while ((dir = readdir(dp)) != NULL) { - if (*(unsigned int *) dir -> d_name == 0x065646f6eU) { + if (*(char *) dir -> d_name == 0x065646f6eU) { node = atoi(&dir -> d_name[4]);