Re: How to get around the "long" 32/64-bit mess?
From: Ian (noone_at_nowhere.com)
Date: 08/15/04
- Next message: David Hilsee: "Re: std::map question"
- Previous message: Victor Bazarov: "Re: Static nested class"
- In reply to: Adam Ierymenko: "How to get around the "long" 32/64-bit mess?"
- Next in thread: Ioannis Vranos: "Re: How to get around the "long" 32/64-bit mess?"
- Reply: Ioannis Vranos: "Re: How to get around the "long" 32/64-bit mess?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sun, 15 Aug 2004 13:48:53 +1200
Adam Ierymenko wrote:
>
> So I'd like to use standard types. Is there *any* way to do this, or
> do I have to create a typedefs.h file like every cryptography or other
> integer-size-sensitive C/C++ program has to do?
>
Be explicit, use int32_t or uint32_t.
Doesn't help with endian issues, the other postings on this thread cover
that, but inside the code these fixed size types are your friend.
Ian
- Next message: David Hilsee: "Re: std::map question"
- Previous message: Victor Bazarov: "Re: Static nested class"
- In reply to: Adam Ierymenko: "How to get around the "long" 32/64-bit mess?"
- Next in thread: Ioannis Vranos: "Re: How to get around the "long" 32/64-bit mess?"
- Reply: Ioannis Vranos: "Re: How to get around the "long" 32/64-bit mess?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|