On Mon, Oct 05 2015, Bart Van Assche wrote:
> On 10/05/15 02:26, Rasmus Villemoes wrote:
>> struct error_info {
>> unsigned short code12; /* 0x0302 looks better than 0x03,0x02 */
>> -const char * text;
>> +unsigned short size;
>> };
>
> Had you considered to use the type uint16_
On 10/05/15 02:26, Rasmus Villemoes wrote:
struct error_info {
unsigned short code12; /* 0x0302 looks better than 0x03,0x02 */
- const char * text;
+ unsigned short size;
};
Had you considered to use the type uint16_t instead of unsigned short ?
Bart.
--
To unsubscribe
2 matches
Mail list logo