Changeset 104010 in vbox for trunk/include
- Timestamp:
- Mar 23, 2024 1:24:05 AM (10 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/iprt/bldprog-strtab-template.cpp.h
r103004 r104010 252 252 #endif 253 253 cMaxStrings *= 2; 254 pThis->papStrHash = (PBLDPROGSTRING *)calloc( sizeof(pThis->papStrHash[0]), cMaxStrings);254 pThis->papStrHash = (PBLDPROGSTRING *)calloc(cMaxStrings, sizeof(pThis->papStrHash[0])); 255 255 if (pThis->papStrHash) 256 256 { 257 257 pThis->cStrHash = cMaxStrings; 258 258 #ifdef BLDPROG_STRTAB_WITH_COMPRESSION 259 pThis->papPendingStrings = (PBLDPROGSTRING *)calloc( sizeof(pThis->papPendingStrings[0]), pThis->cMaxPendingStrings);259 pThis->papPendingStrings = (PBLDPROGSTRING *)calloc(pThis->cMaxPendingStrings, sizeof(pThis->papPendingStrings[0])); 260 260 if (pThis->papPendingStrings) 261 261 #endif
Note:
See TracChangeset
for help on using the changeset viewer.