Fixing warning.
authoraszostak <aszostak@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 15 Mar 2010 01:49:59 +0000 (01:49 +0000)
committeraszostak <aszostak@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 15 Mar 2010 01:49:59 +0000 (01:49 +0000)
HLT/BASE/AliHLTMessage.cxx

index d5d25fe..1dab948 100644 (file)
@@ -379,8 +379,9 @@ Int_t AliHLTMessage::Uncompress()
 
    Int_t buflen;
    Int_t hdrlen = 2*sizeof(UInt_t);
-   UChar_t *bufcur = (UChar_t*)fBufComp + hdrlen;
-   frombuf((char *&)bufcur, &buflen);
+   char *bufcur1 = fBufComp + hdrlen;
+   frombuf(bufcur1, &buflen);
+   UChar_t *bufcur = (UChar_t*)bufcur1;
    fBuffer  = new char[buflen];
    fBufUncompressed = fBuffer;
    fBufSize = buflen;