MitchesD / warc-tools

Automatically exported from code.google.com/p/warc-tools
0 stars 0 forks source link

64-bit compile problem #36

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. attempt to build package on 64-bit OS.

What is the expected output? What do you see instead?

...
utest/warcgzip.c: In function ‘test5’:
utest/warcgzip.c:284: warning: cast to pointer from integer of different size
make: *** [utest/warcgzip.o] Error 1

What version of the product are you using? On what operating system?

Ubuntu:

Linux snazzy 2.6.15-51-amd64-k8 #1 SMP PREEMPT Tue Feb 12 17:02:41 UTC 2008
x86_64 GNU/Linux

Please provide any additional information below.

Original issue reported on code.google.com by b...@archive.org on 2 Jun 2008 at 8:35

GoogleCodeExporter commented 8 years ago
Fixed. It was mainly due to integer casts. In a 32bits machine, "int i = NIL" 
is a a valid statement. Not in 64bits.
Thanks a lot.

Original comment by voidptr...@gmail.com on 3 Sep 2008 at 8:33