Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.2
lukemftp
lukemftp-1.5-strict-aliasing-fix.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File lukemftp-1.5-strict-aliasing-fix.diff of Package lukemftp
--- libedit/el.c +++ libedit/el.c @@ -246,17 +246,22 @@ el_get(EditLine *el, int op, void *ret) { int rv; + union { + void *vret; + el_pfunc_t *eret; + } uret = { &ret }; + if (el == NULL || ret == NULL) return (-1); switch (op) { case EL_PROMPT: case EL_RPROMPT: - rv = prompt_get(el, (el_pfunc_t *) & ret, op); + rv = prompt_get(el, uret.eret, op); break; case EL_EDITOR: - rv = map_get_editor(el, (const char **) &ret); + rv = map_get_editor(el, uret.eret); break; case EL_SIGNAL:
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