X-Git-Url: http://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=tools%2Fconfigurator%2Fconfigurator.c;h=c7577c0cb661f028585d1aac397af363a6e7cb4e;hp=75c59f86db947263b2a0aa190d8119cfee3934b4;hb=becfc7c324d821fe135a1ad843c596399ed5068a;hpb=c455d55526c0f15a8b54ecc7bbaf282b01c48ad0 diff --git a/tools/configurator/configurator.c b/tools/configurator/configurator.c index 75c59f86..c7577c0c 100644 --- a/tools/configurator/configurator.c +++ b/tools/configurator/configurator.c @@ -278,7 +278,8 @@ static struct test tests[] = { " return __stop_mysec - __start_mysec;\n" "}\n" }, { "HAVE_STACK_GROWS_UPWARDS", DEFINES_EVERYTHING|EXECUTE, NULL, NULL, - "static long nest(const void *base, unsigned int i)\n" + "#include \n" + "static ptrdiff_t nest(const void *base, unsigned int i)\n" "{\n" " if (i == 0)\n" " return (const char *)&i - (const char *)base;\n"