Changeset 69 for trunk/orca

Show
Ignore:
Timestamp:
03/03/06 00:04:55 (3 years ago)
Author:
krobillard
Message:

GL - Jorge's patch; should now work on all big endian platforms.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/orca/gl/dlist.c

    r54 r69  
    159159   Returns zero if atom is bad. 
    160160*/ 
    161 uint32_t mapPrimKey( OAtom atom ) 
     161uint32_t mapPrimKey( const OAtom atom ) 
    162162{ 
    163163    uint32_t key = 0; 
    164     char* cp = orAtomCString( atom ); 
    165     char* end; 
     164    const char* cp = orAtomCString( atom ); 
     165    const char* end; 
    166166 
    167167    end = cp; 
     
    208208    ++prog->used 
    209209 
    210 #ifdef __APPLE__ 
     210#if defined(__BIG_ENDIAN__) 
    211211#define RP_ADD(op) \ 
    212212    pc->list = op << 24; \