Fixed aliasing
This commit is contained in:
parent
63f14189e3
commit
4e1eba58aa
|
@ -315,7 +315,7 @@ static int numa_check(void) {
|
||||||
}
|
}
|
||||||
|
|
||||||
while ((dir = readdir(dp)) != NULL) {
|
while ((dir = readdir(dp)) != NULL) {
|
||||||
if (*(unsigned int *) dir -> d_name == 0x065646f6eU) {
|
if (*(char *) dir -> d_name == 0x065646f6eU) {
|
||||||
|
|
||||||
node = atoi(&dir -> d_name[4]);
|
node = atoi(&dir -> d_name[4]);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue