navinseshadri / iksemel

Automatically exported from code.google.com/p/iksemel
GNU Lesser General Public License v2.1
0 stars 0 forks source link

iks_sha doesn't work on 64-bits artchitecture #2

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hello, 
Functions from sha.c doesn't work properly on 64-bit architecture, because
there is used 'unsigned long' (which is 8-bytes long on 64 and 4-bytes on
32). The way to repair it is to use uint32_t (from stdint.h) instead of
unsigned long. I simply replaced all occurences of 'unsigned long' with
'uint32_t' and now library seems working ok.

Original issue reported on code.google.com by sma...@gmail.com on 23 Jul 2007 at 9:01

GoogleCodeExporter commented 9 years ago

Original comment by meduke...@gmail.com on 1 Aug 2007 at 11:28