diff --git a/legacy/ecore/src/lib/ecore_x/ecore_xcb_atom.c b/legacy/ecore/src/lib/ecore_x/ecore_xcb_atom.c index ea30ab8956..9f6f9ca55b 100644 --- a/legacy/ecore/src/lib/ecore_x/ecore_xcb_atom.c +++ b/legacy/ecore/src/lib/ecore_x/ecore_xcb_atom.c @@ -226,7 +226,7 @@ EAPI Ecore_X_Atom ECORE_X_ATOM_SELECTION_PROP_CLIPBOARD = 0; the second one gets the replies and set the atoms. */ #define FETCH_ATOM(s) \ - atom_cookies[i] = xcb_intern_atom(_ecore_xcb_conn, 0, sizeof(s), s); \ + atom_cookies[i] = xcb_intern_atom(_ecore_xcb_conn, 0, strlen(s), s); \ i++ void