Changeset 406 for trunk/thune/urlan.h

Show
Ignore:
Timestamp:
06/07/07 15:58:20 (18 months ago)
Author:
krobillard
Message:

Thune - Fixed ur_initType for BIG_ENDIAN.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/thune/urlan.h

    r375 r406  
    660660#define ur_type(c)          (c)->id.type 
    661661#ifdef __BIG_ENDIAN__ 
    662 #define ur_initType(c,t)    *((uint32_t*) (c)) = t << 24 
     662#define ur_initType(c,t)    *((uint32_t*) (c)) = (t) << 24 
    663663#else 
    664664#define ur_initType(c,t)    *((uint32_t*) (c)) = t