Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.1
mirrormagic
mirrormagic-2.0.2-src_libgame_gadgets.c.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File mirrormagic-2.0.2-src_libgame_gadgets.c.patch of Package mirrormagic
--- src/libgame/gadgets.c.orig 2003-06-07 17:49:48.000000000 +0200 +++ src/libgame/gadgets.c 2014-10-22 15:30:54.366548588 +0200 @@ -18,6 +18,12 @@ #include "text.h" #include "misc.h" +/* check for 64bit */ +#ifdef _LP64 +#ifndef L64 +#define L64 1 +#endif +#endif /* values for DrawGadget() */ #define DG_UNPRESSED 0 @@ -301,11 +307,19 @@ break; case GDI_TYPE: +#ifdef L64 + gi->type = va_arg(ap, int); +#else gi->type = va_arg(ap, unsigned long); +#endif break; case GDI_STATE: +#ifdef L64 + gi->state = va_arg(ap, int); +#else gi->state = va_arg(ap, unsigned long); +#endif break; case GDI_CHECKED:
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor