htod converts C long to int?

David Nadlinger see at klickverbot.at
Sun Jun 12 11:05:13 PDT 2011


While having a look at etc.curl which has a »converted by htod« comment 
in its header, I noticed that values having type »long« in the original 
C headers are declared as »int« there – shouldn't this rather be c_long 
from core.stdc.config to avoid problems on non-LLP64 (i.e. non-Windows) 
64 bit systems? Does htod generally behave like this?

David


More information about the Digitalmars-d mailing list