diff options
author | Antony Riakiotakis <kalast@gmail.com> | 2014-01-13 06:28:51 +0400 |
---|---|---|
committer | Antony Riakiotakis <kalast@gmail.com> | 2014-01-13 06:28:51 +0400 |
commit | 717bf85545989eb91d429108202294da24cbb565 (patch) | |
tree | b58ac43b27cedb08d1cd39e47c50efb30d0d2f31 /source/blender/windowmanager/intern/wm_window.c | |
parent | c925b5bbb29f2a7d698037d21cdeefc8b613149b (diff) |
Fix some harmless warnings that mostly appeared on MinGW64
Diffstat (limited to 'source/blender/windowmanager/intern/wm_window.c')
-rw-r--r-- | source/blender/windowmanager/intern/wm_window.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/windowmanager/intern/wm_window.c b/source/blender/windowmanager/intern/wm_window.c index 19b87766ffd..28fc222e187 100644 --- a/source/blender/windowmanager/intern/wm_window.c +++ b/source/blender/windowmanager/intern/wm_window.c @@ -1269,7 +1269,8 @@ void WM_clipboard_text_set(const char *buf, bool selection) if (!G.background) { #ifdef _WIN32 /* do conversion from \n to \r\n on Windows */ - char *p, *p2, *newbuf; + const char *p; + char *p2, *newbuf; int newlen = 0; for (p = buf; *p; p++) { |