Changeset 192 in vbox for trunk/src/VBox
- Timestamp:
- Jan 19, 2007 7:41:37 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/log.cpp
r178 r192 57 57 *******************************************************************************/ 58 58 /** Ascii to lower macro. */ 59 #define CHLOWER(ch) (((unsigned char)(ch) - (unsigned char)'A') > (unsigned char)('Z' - 'A') ? (ch) : (ch) + ('a' - 'A'))59 #define CHLOWER(ch) (((unsigned char)(ch) < (unsigned char)'A') || ((unsigned char)(ch) > (unsigned char)'Z') ? (ch) : (ch) + ('a' - 'A')) 60 60 61 61 … … 1032 1032 { 1033 1033 if ( (*psz2 >= 'a' && *psz2 <= 'z') 1034 || (*psz2 >= 'A' && *psz2 <= 'Z') ) 1034 || (*psz2 >= 'A' && *psz2 <= 'Z') 1035 || (*psz2 >= '0' && *psz2 <= '9') ) 1035 1036 break; 1036 1037 fFlags |= aFlags[i].fFlag; … … 1701 1702 for (;;) 1702 1703 { 1703 1704 #if defined(DEBUG) && defined(IN_RING3) 1704 1705 /* sanity */ 1705 1706 if (pLogger->offScratch >= sizeof(pLogger->achScratch)) … … 1709 1710 AssertBreakpoint(); AssertBreakpoint(); 1710 1711 } 1711 1712 #endif 1712 1713 1713 1714 /* how much */
Note:
See TracChangeset
for help on using the changeset viewer.