From f98d003e354a1792117b7cbc771d1dd91475a156 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 18 Mar 2011 17:48:29 +0200 Subject: Fix most old style cast except manaserv and libxml2 defines. --- src/utils/copynpaste.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/utils/copynpaste.cpp') diff --git a/src/utils/copynpaste.cpp b/src/utils/copynpaste.cpp index 73ab1b35c..06c959017 100644 --- a/src/utils/copynpaste.cpp +++ b/src/utils/copynpaste.cpp @@ -301,7 +301,7 @@ static char* getSelection2(Display *dpy, Window us, Atom selection, //printf(">>> Got %s: len=%lu left=%lu (event %i)\n", data, // len, left, 50-max_events); - return (char*)data; + return reinterpret_cast(data); } } return NULL; -- cgit v1.2.3-60-g2f50