1
0
Fork 0

xprops: Apply the same Xlib / 64-bit hygiene to atom lists

This commit is contained in:
Jasper St. Pierre 2015-06-23 15:33:58 -07:00
parent 414be07a69
commit 3962f1d982
2 changed files with 4 additions and 4 deletions

View file

@ -241,13 +241,13 @@ get_property (MetaDisplay *display,
static gboolean
atom_list_from_results (GetPropertyResults *results,
Atom **atoms_p,
uint32_t **atoms_p,
int *n_atoms_p)
{
if (!validate_or_free_results (results, 32, XA_ATOM, FALSE))
return FALSE;
*atoms_p = (Atom*) results->prop;
*atoms_p = (uint32_t*) results->prop;
*n_atoms_p = results->n_items;
results->prop = NULL;

View file

@ -170,7 +170,7 @@ typedef struct
struct
{
Atom *atoms;
uint32_t *atoms;
int n_atoms;
} atom_list;