VirtualBox

Changeset 3293 in kBuild


Ignore:
Timestamp:
Jan 8, 2019 9:13:50 PM (6 years ago)
Author:
bird
Message:

kmkbuiltin.c: Don't switch on the shifted command length in the bigendian case. duh.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kmk/kmkbuiltin.c

    r3291 r3293  
    299299        struct KMKBUILTINENTRY const *pEntry;
    300300        size_t cchAndStart;
     301#if K_ENDIAN == K_ENDIAN_BIG
     302        size_t cch;
     303#endif
    301304        int    cLeft;
    302305
     
    311314        cchAndStart = strlen(pszCmd);
    312315#if K_ENDIAN == K_ENDIAN_BIG
     316        cch = cchAndStart;
    313317        cchAndStart <<= K_ARCH_BITS - 8;
    314         switch (cchAndStart)
     318        switch (cch)
    315319        {
    316320            default:                                   /* fall thru */
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette