X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c56ae04274fda26269c6d06be34cf59a45eb70ce..acc476c530e1730d9202b404ec0b0b87ae44ced6:/src/generic/dcpsg.cpp 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++)