X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=RAW%2FAliRawReader.cxx;h=1cdf94c39c607668d22f6688b91d6aaef2f494f4;hb=18c9ced3fbf6e89b0dc7cff7c452b7289fb3e1bb;hp=09b4f4a7068d65c6813756096046d374ad2b1f24;hpb=31572b9ed22d1c9fba9ad73d38b08fd509553d30;p=u%2Fmrichter%2FAliRoot.git diff --git a/RAW/AliRawReader.cxx b/RAW/AliRawReader.cxx index 09b4f4a7068..1cdf94c39c6 100644 --- a/RAW/AliRawReader.cxx +++ b/RAW/AliRawReader.cxx @@ -680,7 +680,7 @@ void AliRawReader::DumpData(Int_t limit) line[pos+offset] = '.'; } char hex[3]; - sprintf(hex, "%2.2x", byte); + snprintf(hex, 3, "%2.2x", byte); line[max+max/4+3+2*pos+offset] = hex[0]; line[max+max/4+4+2*pos+offset] = hex[1]; pos++;