Changeset 14043 in vbox for trunk/include/VBox
- Timestamp:
- Nov 10, 2008 9:54:57 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/com/array.h
r13956 r14043 398 398 static ULONG VarCount (size_t aSize) 399 399 { 400 if (sizeof (T) % 8 == 0) return (ULONG) ( sizeof (T) / 8) * aSize;401 if (sizeof (T) % 4 == 0) return (ULONG) ( sizeof (T) / 4) * aSize;402 if (sizeof (T) % 2 == 0) return (ULONG) ( sizeof (T) / 2) * aSize;400 if (sizeof (T) % 8 == 0) return (ULONG) ((sizeof (T) / 8) * aSize); 401 if (sizeof (T) % 4 == 0) return (ULONG) ((sizeof (T) / 4) * aSize); 402 if (sizeof (T) % 2 == 0) return (ULONG) ((sizeof (T) / 2) * aSize); 403 403 return (ULONG) sizeof (T) * aSize; 404 404 }
Note:
See TracChangeset
for help on using the changeset viewer.