From ea1d76d1b68c7cbcedcaa1f967c5027e0cc1c7a2 Mon Sep 17 00:00:00 2001 From: Yaakov Selkowitz Date: Mon, 5 Nov 2012 23:50:58 -0600 Subject: Fix formatting of address operators The formatter confused address operators preceded by casts with bitwise-and expressions, placing spaces on either side of both. That syntax isn't used by ordinary address operators, however, so fix them for consistency. Signed-off-by: Yaakov Selkowitz Reviewed-by: Peter Hutterer --- dix/devices.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'dix/devices.c') diff --git a/dix/devices.c b/dix/devices.c index 613323fa2..3c7d480c6 100644 --- a/dix/devices.c +++ b/dix/devices.c @@ -283,7 +283,7 @@ AddInputDevice(ClientPtr client, DeviceProc deviceProc, Bool autoStart) dev->coreEvents = TRUE; /* sprite defaults */ - dev->spriteInfo = (SpriteInfoPtr) & dev[1]; + dev->spriteInfo = (SpriteInfoPtr) &dev[1]; /* security creation/labeling check */ @@ -944,7 +944,7 @@ CloseDevice(DeviceIntPtr dev) free(dev->name); - classes = (ClassesPtr) & dev->key; + classes = (ClassesPtr) &dev->key; FreeAllDeviceClasses(classes); if (IsMaster(dev)) { -- cgit v1.2.3