On Mon, Apr 1, 2013 at 8:08 PM, Dan Gora <dan.g...@gmail.com> wrote:
> On Mon, Apr 1, 2013 at 3:04 PM, Zdenek Styblik <zdenek.styb...@gmail.com> 
> wrote:
>> On Mon, Apr 1, 2013 at 7:52 PM, Dan Gora <dan.g...@gmail.com> wrote:
>>> yes because the structure is only 3 bytes long.  Recall that a long is
>>> 8 bytes on 64 bit machines.  An unsigned int is always 4 bytes (unless
>>> we're talking about 16 or 8 bit processors here, which we're not...).
>>> Longs (unsigned or not) should really be avoided unless you're really
>>> prepared to deal with them being different sizes or 32 or 64 bit
>>> machines.
>>>
>>
>> Why don't you use int types from "<stdint.h>" that I don't understand.
>> Is there something wrong about it? Because you'd have equally sized
>> integers no matter what platform you're currently running at. This
>> was, actually, one of comments/questions/suggestions I had about
>> posted patches.
>
> Just because I'm not used to using them because I've worked on some
> platforms which didn't have it and I'm just accustomed to using the
> underlying standard C types.  I can change that though, no problem.
>
> thanks,
> d

No worries. I also didn't mean it as any kind of enforcement. From my
point it makes sense, or at least in this particular case. Whether it
makes sense "sense", I can't say :)
I won't deny I'm trying to push use of <stdint.h> types.

Z.

------------------------------------------------------------------------------
Own the Future-Intel&reg; Level Up Game Demo Contest 2013
Rise to greatness in Intel's independent game demo contest.
Compete for recognition, cash, and the chance to get your game 
on Steam. $5K grand prize plus 10 genre and skill prizes. 
Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d
_______________________________________________
Ipmitool-devel mailing list
Ipmitool-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ipmitool-devel

Reply via email to