xprops: Apply the same Xlib / 64-bit hygiene to atom lists
This commit is contained in:
parent
414be07a69
commit
3962f1d982
@ -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;
|
||||
|
||||
|
@ -170,7 +170,7 @@ typedef struct
|
||||
|
||||
struct
|
||||
{
|
||||
Atom *atoms;
|
||||
uint32_t *atoms;
|
||||
int n_atoms;
|
||||
} atom_list;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user