Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.2:Test
orbit
ORBit-0.5.17-strictalias.dif
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File ORBit-0.5.17-strictalias.dif of Package orbit
Index: src/orbit-idl-compiler/backends/c/orbit-idl-c-demarshal.c =================================================================== --- src/orbit-idl-compiler/backends/c/orbit-idl-c-demarshal.c.orig +++ src/orbit-idl-compiler/backends/c/orbit-idl-c-demarshal.c @@ -121,7 +121,7 @@ c_demarshal_datum(OIDL_Marshal_Node *nod if(n >= 64) fprintf(cmi->ci->fh, "iiop_byteswap((guchar *)&(%s), _ORBIT_curptr, %d);\n", ctmp, node->u.datum_info.datum_size); else { - fprintf(cmi->ci->fh, "(*((guint%d *)&(%s))) = ", n, ctmp); + fprintf(cmi->ci->fh, "(%s) = ", ctmp); fprintf(cmi->ci->fh, "GUINT%d_SWAP_LE_BE(*((guint%d *)_ORBIT_curptr));", n, n); } Index: src/orbit-idl-compiler/orbit-idl-backends.c =================================================================== --- src/orbit-idl-compiler/orbit-idl-backends.c.orig +++ src/orbit-idl-compiler/orbit-idl-backends.c @@ -40,7 +40,7 @@ OIDL_Backend_Info *orbit_idl_backend_for int ret; char *fname, *ctmp; GModule *gmod; - OIDL_Backend_Info *retval = NULL; + gpointer retptr = NULL; for(i = 0; orbit_idl_builtin_backends[i].name; i++) { if(!strcmp(lang, orbit_idl_builtin_backends[i].name)) @@ -64,11 +64,11 @@ OIDL_Backend_Info *orbit_idl_backend_for ret = g_module_symbol(gmod, "orbit_idl_backend", - (gpointer *)&retval); + &retptr); if(!ret) { g_warning("Symbol lookup failed: %s", g_module_error()); return NULL; } - return retval; + return retptr; }
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