Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntony Riakiotakis <kalast@gmail.com>2014-01-13 06:28:51 +0400
committerAntony Riakiotakis <kalast@gmail.com>2014-01-13 06:28:51 +0400
commit717bf85545989eb91d429108202294da24cbb565 (patch)
treeb58ac43b27cedb08d1cd39e47c50efb30d0d2f31 /source/blender/windowmanager
parentc925b5bbb29f2a7d698037d21cdeefc8b613149b (diff)
Fix some harmless warnings that mostly appeared on MinGW64
Diffstat (limited to 'source/blender/windowmanager')
-rw-r--r--source/blender/windowmanager/intern/wm_window.c3
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++) {