[PATCH 17/20] stkutil: Add the Event Download envelope builder

Denis Kenzior denkenz at gmail.com
Wed Jun 9 18:37:18 PDT 2010


Hi Marcel,

> Hi Denis,
> 
> > >  		/* Network Byte Order */
> > > -		unsigned int ipv4;
> > > +		guint32 ipv4;
> >
> > Why?
> 
> actually unsigned int on 64-bit has a different size than on 32-bit.
> However I prefer we use uint32_t and not the guint32 types.

Err, no it doesn't.  You must be thinking of long ints.

While theoretically 8-byte ints are allowed by the standard, no such platform 
exists that I know of.  Using uint32_t is preferable though.

Regards,
-Denis


More information about the ofono mailing list