FsReadWriteReq.cpp:

  compile error on hpux
parent 2c27c13f
...@@ -59,10 +59,10 @@ printFSREADWRITEREQ(FILE * output, const Uint32 * theData, ...@@ -59,10 +59,10 @@ printFSREADWRITEREQ(FILE * output, const Uint32 * theData,
sig->numberOfPages); sig->numberOfPages);
fprintf(output, " pageData: "); fprintf(output, " pageData: ");
unsigned int i;
switch(sig->getFormatFlag(sig->operationFlag)){ switch(sig->getFormatFlag(sig->operationFlag)){
case FsReadWriteReq::fsFormatListOfPairs: case FsReadWriteReq::fsFormatListOfPairs:
for (unsigned int i = 0; i < sig->numberOfPages*2; i += 2){ for (i= 0; i < sig->numberOfPages*2; i += 2){
fprintf(output, " H\'%.8x, H\'%.8x\n", sig->data.pageData[i], fprintf(output, " H\'%.8x, H\'%.8x\n", sig->data.pageData[i],
sig->data.pageData[i + 1]); sig->data.pageData[i + 1]);
} }
...@@ -72,7 +72,7 @@ printFSREADWRITEREQ(FILE * output, const Uint32 * theData, ...@@ -72,7 +72,7 @@ printFSREADWRITEREQ(FILE * output, const Uint32 * theData,
sig->data.pageData[1]); sig->data.pageData[1]);
break; break;
case FsReadWriteReq::fsFormatListOfMemPages: case FsReadWriteReq::fsFormatListOfMemPages:
for (unsigned int i = 0; i < (sig->numberOfPages + 1); i++){ for (i= 0; i < (sig->numberOfPages + 1); i++){
fprintf(output, " H\'%.8x, ", sig->data.pageData[i]); fprintf(output, " H\'%.8x, ", sig->data.pageData[i]);
} }
break; break;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment