Subject: | pointer mis-match in apple snow leopard (64 bit) |
$>prove -bvm t/local/00_ptr_cast.t
t/local/00_ptr_cast.t ..
1..5
# compiling test program with: cc -o t/local/ptr_cast_test
t/local/ptr_cast_test.c
ok 1 - compiling ptr_cast_test.c
not ok 2 - STDERR empty after compiling
# Failed test 'STDERR empty after compiling'
# at t/local/00_ptr_cast.t line 28.
# got: 't/local/ptr_cast_test.c: In function 'main':
# t/local/ptr_cast_test.c:27: warning: format '%d' expects type 'int',
but argument 4 has type 'long unsigned int'
# t/local/ptr_cast_test.c:27: warning: format '%d' expects type 'int',
but argument 6 has type 'long unsigned int'
# '
# expected: ''
ok 3 - ./ptr_cast_test exited with 0
ok 4 - casting pointer integer and back worked
ok 5 - STDERR empty after running
# Looks like you failed 1 test of 5.
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/5 subtests
Test Summary Report
-------------------
t/local/00_ptr_cast.t (Wstat: 256 Tests: 5 Failed: 1)
Failed test: 2
Non-zero exit status: 1
Files=1, Tests=5, 0 wallclock secs ( 0.02 usr 0.01 sys + 0.04 cusr
0.02 csys = 0.09 CPU)
Result: FAIL