X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/22faef6ced3961e62b372afcec202229ed2f1a69..42d0df0030abbac4ca11a78b2f529133e3c9d986:/include/wx/buffer.h diff --git a/include/wx/buffer.h b/include/wx/buffer.h index 3cea4f35f8..c220566ffd 100644 --- a/include/wx/buffer.h +++ b/include/wx/buffer.h @@ -251,7 +251,7 @@ public: m_bufdata->m_len += 1; } - void AppendData(void* data, size_t len) + void AppendData(const void *data, size_t len) { memcpy(GetAppendBuf(len), data, len); UngetAppendBuf(len);