Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12:Update
xdelta
xdelta-1.1.4-aliasing.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File xdelta-1.1.4-aliasing.patch of Package xdelta
--- libedsio/edsiotest.c +++ libedsio/edsiotest.c @@ -48,6 +48,7 @@ const char* str = "hello there"; const char* str2; guint32 str2_len; + const char ** str2_ptr = &str2; PropTest *pt = g_new0 (PropTest, 1); @@ -63,12 +64,12 @@ g_assert (proptest_isset_bytes (pt, prop)); - g_assert (proptest_get_bytes (pt, prop, (const guint8**) & str2, & str2_len) && str2_len == (strlen (str) + 1) && strcmp (str, str2) == 0); + g_assert (proptest_get_bytes (pt, prop, (const guint8**) str2_ptr, & str2_len) && str2_len == (strlen (str) + 1) && strcmp (str, str2) == 0); /* kill the cache, to test persistence. */ pt->_edsio_property_table = NULL; - g_assert (proptest_get_bytes (pt, prop, (const guint8**) & str2, & str2_len) && str2_len == (strlen (str) + 1) && strcmp (str, str2) == 0); + g_assert (proptest_get_bytes (pt, prop, (const guint8**) str2_ptr, & str2_len) && str2_len == (strlen (str) + 1) && strcmp (str, str2) == 0); g_assert (proptest_unset_bytes (pt, prop)); --- xdelta.c +++ xdelta.c @@ -1414,6 +1414,7 @@ { SerialSource* src = handle_source (cont_in); XdeltaControl* cont; + XdeltaControl** cont_ptr = &cont; SerialType type; if (! src) @@ -1421,7 +1422,7 @@ /* TODO: free src */ - if (! serializeio_unserialize_generic_acceptable (src, ST_XdeltaControl | ST_Version0Control, & type, (void**) & cont)) + if (! serializeio_unserialize_generic_acceptable (src, ST_XdeltaControl | ST_Version0Control, & type, (void **) cont_ptr)) return NULL; if (type == ST_Version0Control)
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