search for: int_conf

Displaying 1 result from an estimated 1 matches for "int_conf".

Did you mean: ini_conf
2010 Oct 19
3
[PATCH] Fix up 3 klibc build warnings.
...--- a/scripts/basic/fixdep.c +++ b/scripts/basic/fixdep.c @@ -363,11 +363,14 @@ void print_deps(void) void traps(void) { - static char test[] __attribute__((aligned(sizeof(int)))) = "CONF"; + union { + int i; + char c[4]; + } test = { .c = "CONF" }; - if (*(int *)test != INT_CONF) { + if (test.i != INT_CONF) { fprintf(stderr, "fixdep: sizeof(int) != 4 or wrong endianess? %#x\n", - *(int *)test); + test.i); exit(2); } } diff --git a/usr/dash/jobs.c b/usr/dash/jobs.c index bf770dd..43b6b98 100644 --- a/usr/dash/jobs.c +++ b/usr/dash/jobs.c @@ -424,7 +42...