Fix "warning: cast from pointer to integer of different size"
Signed-off-by: Tomas Carnecky <tom@dbservice.com> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
		
							parent
							
								
									0e15697b53
								
							
						
					
					
						commit
						9a1d07ecb7
					
				|  | @ -1077,8 +1077,8 @@ CoreFocusPointerRootNoneSwitch(DeviceIntPtr dev, | |||
|                 if (ptrwin && IsParent(root, ptrwin)) | ||||
|                     CoreFocusOutNotifyPointerEvents(dev, root, None, mode, TRUE); | ||||
|             } | ||||
|             CoreFocusEvent(dev, FocusOut, mode, ((int)A) ? NotifyPointerRoot : NotifyDetailNone, root); | ||||
|             CoreFocusEvent(dev, FocusIn, mode, ((int)B) ? NotifyPointerRoot : NotifyDetailNone, root); | ||||
|             CoreFocusEvent(dev, FocusOut, mode, A ? NotifyPointerRoot : NotifyDetailNone, root); | ||||
|             CoreFocusEvent(dev, FocusIn, mode, B ? NotifyPointerRoot : NotifyDetailNone, root); | ||||
|             if (B == PointerRootWin) | ||||
|                 CoreFocusInNotifyPointerEvents(dev, root, None, mode, TRUE); | ||||
|         } | ||||
|  | @ -1128,7 +1128,7 @@ CoreFocusToPointerRootOrNone(DeviceIntPtr dev, | |||
|         root = WindowTable[i]; | ||||
|         if (!HasFocus(root) && !FirstFocusChild(root)) | ||||
|         { | ||||
|             CoreFocusEvent(dev, FocusIn, mode, ((int)B) ? NotifyPointerRoot : NotifyDetailNone, root); | ||||
|             CoreFocusEvent(dev, FocusIn, mode, B ? NotifyPointerRoot : NotifyDetailNone, root); | ||||
|             if (B == PointerRootWin) | ||||
|                 CoreFocusInNotifyPointerEvents(dev, root, None, mode, TRUE); | ||||
|         } | ||||
|  | @ -1169,7 +1169,7 @@ CoreFocusFromPointerRootOrNone(DeviceIntPtr dev, | |||
|                 if (ptrwin) | ||||
|                     CoreFocusOutNotifyPointerEvents(dev, root, None, mode, TRUE); | ||||
|             } | ||||
|             CoreFocusEvent(dev, FocusOut, mode, ((int)A) ? NotifyPointerRoot : NotifyDetailNone, root); | ||||
|             CoreFocusEvent(dev, FocusOut, mode, A ? NotifyPointerRoot : NotifyDetailNone, root); | ||||
|         } | ||||
|     } | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue