X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/22faef6ced3961e62b372afcec202229ed2f1a69..3b60ea2f22359e044a667dcf33e41040f6c97e26:/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);