Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.1:Test
nut
nut-intptr.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File nut-intptr.patch of Package nut
main-hal.c: In function 'dbus_filter_function': main-hal.c:553: warning: passing argument 4 of 'dbus_send_reply' makes pointer from integer without a cast main-hal.c:559: warning: passing argument 4 of 'dbus_send_reply' makes pointer from integer without a cast ================================================================================ --- drivers/main-hal.c +++ drivers/main-hal.c @@ -550,13 +550,13 @@ if (b_enable==TRUE) { if (upsh.instcmd("beeper.enable", NULL) != STAT_INSTCMD_HANDLED) { - dbus_send_reply(connection, message, DBUS_TYPE_INT32, -1); + dbus_send_reply(connection, message, DBUS_TYPE_INT32, (void *)(-1)); return DBUS_HANDLER_RESULT_NOT_YET_HANDLED; } } else { if (upsh.instcmd("beeper.disable", NULL) != STAT_INSTCMD_HANDLED) { - dbus_send_reply(connection, message, DBUS_TYPE_INT32, -1); + dbus_send_reply(connection, message, DBUS_TYPE_INT32, (void *)(-1)); return DBUS_HANDLER_RESULT_NOT_YET_HANDLED; } }
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