Mercurial > emacs
diff src/xselect.c @ 112434:9de5a68b57e1
Promote SSDATA macro from gtkutil.c and xsmfns.c to lisp.h.
author | Paul Eggert <eggert@cs.ucla.edu> |
---|---|
date | Sat, 22 Jan 2011 18:56:06 -0800 |
parents | 4d90cea362a3 |
children |
line wrap: on
line diff
--- a/src/xselect.c Sat Jan 22 17:09:09 2011 -0800 +++ b/src/xselect.c Sat Jan 22 18:56:06 2011 -0800 @@ -235,9 +235,9 @@ if (EQ (sym, QNULL)) return dpyinfo->Xatom_NULL; if (!SYMBOLP (sym)) abort (); - TRACE1 (" XInternAtom %s", (char *) SDATA (SYMBOL_NAME (sym))); + TRACE1 (" XInternAtom %s", SSDATA (SYMBOL_NAME (sym))); BLOCK_INPUT; - val = XInternAtom (display, (char *) SDATA (SYMBOL_NAME (sym)), False); + val = XInternAtom (display, SSDATA (SYMBOL_NAME (sym)), False); UNBLOCK_INPUT; return val; } @@ -2255,7 +2255,7 @@ else if (STRINGP (o)) { BLOCK_INPUT; - val = (long) XInternAtom (dpy, (char *) SDATA (o), False); + val = (long) XInternAtom (dpy, SSDATA (o), False); UNBLOCK_INPUT; } else @@ -2392,7 +2392,7 @@ else if (STRINGP (atom)) { BLOCK_INPUT; - x_atom = XInternAtom (FRAME_X_DISPLAY (f), (char *) SDATA (atom), False); + x_atom = XInternAtom (FRAME_X_DISPLAY (f), SSDATA (atom), False); UNBLOCK_INPUT; } else