X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c56ae04274fda26269c6d06be34cf59a45eb70ce..6493aacaeb7b22b9fa35c559f7753e9fec0da71f:/src/generic/dcpsg.cpp?ds=sidebyside diff --git a/src/generic/dcpsg.cpp b/src/generic/dcpsg.cpp index d9c6a9800a..ff50f09120 100644 --- a/src/generic/dcpsg.cpp +++ b/src/generic/dcpsg.cpp @@ -879,7 +879,7 @@ void wxPostScriptDC::DoDrawBitmap( const wxBitmap& bitmap, wxCoord x, wxCoord y, //rows for (int j = 0; j < h; j++) { - char* bufferindex = buffer; + char* bufferindex = buffer.data(); //cols for (int i = 0; i < w*3; i++)