From 07695336bbcf4446f24cf01b162f13dd2cb716fd Mon Sep 17 00:00:00 2001 From: marian Date: Thu, 15 Jul 2010 09:21:14 +0000 Subject: [PATCH] Warning in message formating removal Marian --- TPC/AliDigits.h | 4 ++-- TPC/AliSimDigits.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/TPC/AliDigits.h b/TPC/AliDigits.h index ccbc722b036..4943dce3bef 100644 --- a/TPC/AliDigits.h +++ b/TPC/AliDigits.h @@ -118,8 +118,8 @@ inline void AliDigits::SetDigitFast(Short_t value, Int_t row, Int_t column) //set digit // if ( (row<0) || (row>=fNrows) || (column<0) || (column>=fNcols) ) - Error("AliDigits::SetDigitFast", "row %d col %d out of bounds (size: %d x %d, this: 0x%08x)", - row, column, fNrows, fNcols, this); + Error("AliDigits::SetDigitFast", "row %d col %d out of bounds (size: %d x %d, this: 0x%08lx)", + row, column, fNrows, fNcols, (ULong_t)this); (*fElements)[fIndex->At(column)+row]=value; } diff --git a/TPC/AliSimDigits.h b/TPC/AliSimDigits.h index 844652524c5..b8deebbae54 100644 --- a/TPC/AliSimDigits.h +++ b/TPC/AliSimDigits.h @@ -71,8 +71,8 @@ inline void AliSimDigits::SetTrackIDFast(Int_t value,Int_t row, Int_t column,Int //set ID track at given row and collumn // fTracks[level][fTrIndex[level][column]+row]=value; if ( (row<0) || (row>=fNrows) || (column<0) || (column>=fNcols) ) - ::Error("AliSimDigits::SetTrackIDFast", "row %d col %d out of bounds (size: %d x %d, this: 0x%08x)", - row, column, fNrows, fNcols, this); + ::Error("AliSimDigits::SetTrackIDFast", "row %d col %d out of bounds (size: %d x %d, this: 0x%08lx)", + row, column, fNrows, fNcols, (ULong_t) this); if ( (level<0) || (level>=fNlevel)) ::Error("AliSimDigits::SetTrackIDFast", "index %d out of bounds", level); (*fTracks)[level*fNrows*fNcols+fNrows*column+row]=value; } -- 2.43.5