]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TRD/AliTRDrawStreamOld.cxx
Fix compiler warnings
[u/mrichter/AliRoot.git] / TRD / AliTRDrawStreamOld.cxx
index d2a261317c4b9db2cba672fdffe115045d0d69c4..7a51b0f3dbfa6c2846fb7cff5fe4a1d9668fe8b0 100644 (file)
@@ -358,7 +358,7 @@ Bool_t AliTRDrawStreamOld::SkipWords(UInt_t iw)
     return kTRUE;\r
   }\r
   else {\r
-    if (fWarnError) AliWarning(Form("Skip %u words failed. %u available", iw, fpEnd - fpPos - 1));\r
+    if (fWarnError) AliWarning(Form("Skip %u words failed. %ld available", iw, fpEnd - fpPos - 1));\r
     return kFALSE;\r
   }\r
 \r
@@ -857,7 +857,7 @@ Bool_t AliTRDrawStreamOld::InitBuffer(void * const buffer, UInt_t length)
   fpPos = fpBegin;\r
 \r
   if (fpBegin == 0 || length <= 0) {\r
-    AliError(Form("Buffer size or pointer is strange. pointer to the buffer is 0x%p of size %ld", fpBegin, length));\r
+    AliError(Form("Buffer size or pointer is strange. pointer to the buffer is 0x%p of size %u", fpBegin, length));\r
     return kFALSE;\r
   }\r
 \r