Nmap Development mailing list archives
Re: [NSE patch] patch for pack/unpack to use platform independant types
From: Fyodor <fyodor () insecure org>
Date: Sat, 16 Aug 2008 22:27:51 -0700
On Sat, Aug 16, 2008 at 06:02:35AM +0200, Philip Pickering wrote:
+ +#ifndef HAVE_INT32_T +#define HAVE_INT32_T +typedef signed long int32_t; +#endif + + +#ifndef HAVE_INT64_T +#define HAVE_INT64_T +typedef signed long long int64_t; +// typedef __int64 int64_t; // use instead? +#endif
Have you researched whether "signed long" is 32 bits on all Windows platforms (including 64-bit platforms) and that "signed long long" is always 64 bits? Have you researched whether Windows provides type definitions with a more explicit bitwidth guarantee? Cheers, -F _______________________________________________ Sent through the nmap-dev mailing list http://cgi.insecure.org/mailman/listinfo/nmap-dev Archived at http://SecLists.Org
Current thread:
- [NSE patch] patch for pack/unpack to use platform independant types Sven Klemm (Aug 07)
- Re: [NSE patch] patch for pack/unpack to use platform independant types Sven Klemm (Aug 14)
- Re: [NSE patch] patch for pack/unpack to use platform independant types Philip Pickering (Aug 14)
- Re: [NSE patch] patch for pack/unpack to use platform independant types Philip Pickering (Aug 15)
- Re: [NSE patch] patch for pack/unpack to use platform independant types Sven Klemm (Aug 16)
- Re: [NSE patch] patch for pack/unpack to use platform independant types Fyodor (Aug 16)
- Re: [NSE patch] patch for pack/unpack to use platform independant types Sven Klemm (Aug 17)
- Re: [NSE patch] patch for pack/unpack to use platform independant types doug (Aug 17)
- Re: [NSE patch] patch for pack/unpack to use platform independant types Philip Pickering (Aug 17)
- Message not available
- Re: [NSE patch] patch for pack/unpack to use platform independant types Philip Pickering (Aug 17)
- Re: [NSE patch] patch for pack/unpack to use platform independant types Philip Pickering (Aug 21)
- Re: [NSE patch] patch for pack/unpack to use platform independant types Philip Pickering (Aug 14)
- Re: [NSE patch] patch for pack/unpack to use platform independant types Sven Klemm (Aug 14)
- Re: [NSE patch] patch for pack/unpack to use platform independant types David Fifield (Aug 29)
- Re: [NSE patch] patch for pack/unpack to use platform independant types jah (Sep 03)
- Re: [NSE patch] patch for pack/unpack to use platform independant types David Fifield (Sep 03)
- Re: [NSE patch] patch for pack/unpack to use platform independant types jah (Sep 03)