]> git.ozlabs.org Git - ccan/blobdiff - ccan/build_assert/test/compile_fail-expr.c
base64: fix for unsigned chars (e.g. ARM).
[ccan] / ccan / build_assert / test / compile_fail-expr.c
index fa60d6899a7e5b162134af8fd7a0ef1a4e08c7c3..6322eb3523a2e951c0835d6223773002b50f82df 100644 (file)
@@ -1,9 +1,9 @@
 #include <ccan/build_assert/build_assert.h>
 
-int main(int argc, char *argv[])
+int main(void)
 {
 #ifdef FAIL
-       return EXPR_BUILD_ASSERT(1 == 0);
+       return BUILD_ASSERT_OR_ZERO(1 == 0);
 #else
        return 0;
 #endif