summaryrefslogtreecommitdiff
path: root/ndb
diff options
context:
space:
mode:
authorunknown <tomas@poseidon.bredbandsbolaget.se>2004-06-17 17:12:45 +0000
committerunknown <tomas@poseidon.bredbandsbolaget.se>2004-06-17 17:12:45 +0000
commit29987cd0b7bc7a1defc967a0fceb768e52f3e819 (patch)
tree6e3eb6a6e0c7ccf5ef5934a113c5dd9794249283 /ndb
parent57ccc47bfb74463f3fad2e68ae687e7401b14a8a (diff)
downloadmariadb-git-29987cd0b7bc7a1defc967a0fceb768e52f3e819.tar.gz
FsReadWriteReq.cpp:
compile error on hpux ndb/src/common/debugger/signaldata/FsReadWriteReq.cpp: compile error on hpux
Diffstat (limited to 'ndb')
-rw-r--r--ndb/src/common/debugger/signaldata/FsReadWriteReq.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/ndb/src/common/debugger/signaldata/FsReadWriteReq.cpp b/ndb/src/common/debugger/signaldata/FsReadWriteReq.cpp
index ad9cb623c17..9b32fab87ba 100644
--- a/ndb/src/common/debugger/signaldata/FsReadWriteReq.cpp
+++ b/ndb/src/common/debugger/signaldata/FsReadWriteReq.cpp
@@ -59,10 +59,10 @@ printFSREADWRITEREQ(FILE * output, const Uint32 * theData,
sig->numberOfPages);
fprintf(output, " pageData: ");
-
+ unsigned int i;
switch(sig->getFormatFlag(sig->operationFlag)){
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],
sig->data.pageData[i + 1]);
}
@@ -72,7 +72,7 @@ printFSREADWRITEREQ(FILE * output, const Uint32 * theData,
sig->data.pageData[1]);
break;
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]);
}
break;