Skip to content
Snippets Groups Projects
Commit 123a07b5 authored by Philippe Canal's avatar Philippe Canal
Browse files

two more instance of Int_t -> UInt_t

parent f5640e38
No related branches found
No related tags found
No related merge requests found
...@@ -84,7 +84,8 @@ void TEmulatedMapProxy::ReadMap(UInt_t nElements, TBuffer &b) ...@@ -84,7 +84,8 @@ void TEmulatedMapProxy::ReadMap(UInt_t nElements, TBuffer &b)
{ {
// Map input streamer. // Map input streamer.
Bool_t vsn3 = b.GetInfo() && b.GetInfo()->GetOldVersion()<=3; Bool_t vsn3 = b.GetInfo() && b.GetInfo()->GetOldVersion()<=3;
int idx, loop, off[2] = {0, fValOffset }; UInt_t idx, loop;
Int_t off[2] = {0, fValOffset };
Value *v, *val[2] = { fKey, fVal }; Value *v, *val[2] = { fKey, fVal };
StreamHelper* helper; StreamHelper* helper;
float f; float f;
...@@ -152,7 +153,7 @@ void TEmulatedMapProxy::WriteMap(UInt_t nElements, TBuffer &b) ...@@ -152,7 +153,7 @@ void TEmulatedMapProxy::WriteMap(UInt_t nElements, TBuffer &b)
StreamHelper* i; StreamHelper* i;
char* addr = 0; char* addr = 0;
char* temp = (char*)At(0); char* temp = (char*)At(0);
for (int loop, idx = 0; idx < nElements; ++idx ) { for (UInt_t loop, idx = 0; idx < nElements; ++idx ) {
addr = temp + idx*fValDiff; addr = temp + idx*fValDiff;
for ( loop = 0; loop<2; ++loop ) { for ( loop = 0; loop<2; ++loop ) {
addr += off[loop]; addr += off[loop];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment