Changeset 406 for branches/thune

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
  • branches/thune/thread_safe/urlan.h

    r405 r406  
    653653#define ur_type(c)          (c)->id.type 
    654654#ifdef __BIG_ENDIAN__ 
    655 #define ur_initType(c,t)    *((uint32_t*) (c)) = t << 24 
     655#define ur_initType(c,t)    *((uint32_t*) (c)) = (t) << 24 
    656656#else 
    657657#define ur_initType(c,t)    *((uint32_t*) (c)) = t