X-Git-Url: https://git.rrq.au/?a=blobdiff_plain;f=src%2Fcommon.c;h=1a86aa18da6cbb8377777894c27260af85995afb;hb=HEAD;hp=7a0b6e59821e7ac1446c32e200e6408a4a79557a;hpb=0a7ead9db7967764f0d93d30f9a83c94cb6fc358;p=rrq%2Fmaintain_lilo.git diff --git a/src/common.c b/src/common.c index 7a0b6e5..1a86aa1 100644 --- a/src/common.c +++ b/src/common.c @@ -1,14 +1,13 @@ -/* common.c - Common data structures and functions. */ -/* -Copyright 1992-1998 Werner Almesberger. -Copyright 1999-2005 John Coffman. -All rights reserved. - -Licensed under the terms contained in the file 'COPYING' in the -source directory. - -*/ - +/* common.c - Common data structures and functions + * + * Copyright 1992-1998 Werner Almesberger + * Copyright 1999-2005 John Coffman + * Copyright 2009-2015 Joachim Wiedorn + * All rights reserved. + * + * Licensed under the terms contained in the file 'COPYING' + * in the source directory. + */ #define _GNU_SOURCE #include @@ -277,7 +276,7 @@ int main(int argc, char *argv[]) fprintf(stderr, "*****Fatal: INT != 4\n"); return 1; } - if (sizeof(long)>sizeof(int)) + if (sizeof(int32_t)>sizeof(int)) fprintf(stderr, "**Note: LONG is bigger than INT\n"); return 0;