Changeset 104010 in vbox for trunk/src/VBox/ValidationKit
- Timestamp:
- Mar 23, 2024 1:24:05 AM (12 months ago)
- svn:sync-xref-src-repo-rev:
- 162398
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/bootsectors/bs3kit/VBoxBs3ObjConverter.cpp
r98103 r104010 371 371 static POMFWRITER omfWriter_Create(const char *pszSrc, uint32_t cSegments, uint32_t cSymbols, FILE *pDst) 372 372 { 373 POMFWRITER pThis = (POMFWRITER)calloc( sizeof(OMFWRITER), 1);373 POMFWRITER pThis = (POMFWRITER)calloc(1, sizeof(OMFWRITER)); 374 374 if (pThis) 375 375 { … … 377 377 pThis->idxNextName = 1; /* We start counting at 1. */ 378 378 pThis->cSegments = cSegments; 379 pThis->paSegments = (POMFTOSEGDEF)calloc( sizeof(OMFTOSEGDEF), cSegments);379 pThis->paSegments = (POMFTOSEGDEF)calloc(cSegments, sizeof(OMFTOSEGDEF)); 380 380 if (pThis->paSegments) 381 381 { 382 382 pThis->cSymbols = cSymbols; 383 pThis->paSymbols = (POMFSYMBOL)calloc( sizeof(OMFSYMBOL), cSymbols);383 pThis->paSymbols = (POMFSYMBOL)calloc(cSymbols, sizeof(OMFSYMBOL)); 384 384 if (pThis->paSymbols) 385 385 {
Note:
See TracChangeset
for help on using the changeset viewer.