From: Sander Jansen Date: Sat, 16 May 2015 19:53:17 +0000 (-0500) Subject: add forgotten const cast X-Git-Tag: v1.11beta~64^2~10 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=59a1b7a4916e3cf47945ba965961249db21fb9db;p=taglib add forgotten const cast --- diff --git a/taglib/toolkit/tbytevector.cpp b/taglib/toolkit/tbytevector.cpp index f18d2329..a87922d5 100644 --- a/taglib/toolkit/tbytevector.cpp +++ b/taglib/toolkit/tbytevector.cpp @@ -979,7 +979,7 @@ ByteVector ByteVector::fromBase64(const ByteVector & input) ByteVector output(len); - const unsigned char * src = (unsigned char*) input.data(); + const unsigned char * src = (const unsigned char*) input.data(); unsigned char * dst = (unsigned char*)output.data(); while(4<=len) { if(base64[src[0]]==0x80) break;