author | jurikm |
Sun, 12 Feb 2012 14:04:10 +0000 | |
changeset 8245 | 383896da4129 |
parent 84 | 1fed9192ba27 |
permissions | -rw-r--r-- |
--- aria2-0.9.0/src/Base64.cc.orig7 2006-12-12 14:03:01.159223000 +0800 +++ aria2-0.9.0/src/Base64.cc 2006-12-12 14:55:38.578733000 +0800 @@ -76,7 +76,7 @@ encode((const unsigned char*)plainSrc.c_str(), plainSrc.size(), result, resultLength); - string encoded(&result[0], &result[resultLength]); + string encoded((const char*)result, resultLength); delete [] result; return encoded; }