Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Guillaume_G:WSL
mingw64-json-c
json-c-0.12.1-gcc7.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File json-c-0.12.1-gcc7.patch of Package mingw64-json-c
--- json-c-0.12.1/json_object.c 2016-06-07 05:34:04.000000000 +0200 +++ json-c-0.12.1/json_object.c 2017-05-30 14:59:20.484719976 +0200 @@ -552,6 +552,7 @@ return jso->o.c_boolean; case json_type_string: if (json_parse_int64(jso->o.c_string.str, &cint) == 0) return cint; + /* FALLTHRU */ default: return 0; } --- json-c-0.12.1/json_tokener.c 2016-06-07 05:34:04.000000000 +0200 +++ json-c-0.12.1/json_tokener.c 2017-05-30 14:57:17.244719511 +0200 @@ -305,6 +305,7 @@ tok->err = json_tokener_error_parse_unexpected; goto out; } + /* FALLTHRU */ case '"': state = json_tokener_state_string; printbuf_reset(tok->pb); --- json-c-0.12.1/linkhash.c 2016-06-07 05:34:04.000000000 +0200 +++ json-c-0.12.1/linkhash.c 2017-05-30 14:57:17.244719511 +0200 @@ -376,17 +376,17 @@ /*-------------------------------- last block: affect all 32 bits of (c) */ switch(length) /* all the case statements fall through */ { - case 12: c+=((uint32_t)k[11])<<24; - case 11: c+=((uint32_t)k[10])<<16; - case 10: c+=((uint32_t)k[9])<<8; - case 9 : c+=k[8]; - case 8 : b+=((uint32_t)k[7])<<24; - case 7 : b+=((uint32_t)k[6])<<16; - case 6 : b+=((uint32_t)k[5])<<8; - case 5 : b+=k[4]; - case 4 : a+=((uint32_t)k[3])<<24; - case 3 : a+=((uint32_t)k[2])<<16; - case 2 : a+=((uint32_t)k[1])<<8; + case 12: c+=((uint32_t)k[11])<<24; /* FALLTHRU */ + case 11: c+=((uint32_t)k[10])<<16; /* FALLTHRU */ + case 10: c+=((uint32_t)k[9])<<8; /* FALLTHRU */ + case 9 : c+=k[8]; /* FALLTHRU */ + case 8 : b+=((uint32_t)k[7])<<24; /* FALLTHRU */ + case 7 : b+=((uint32_t)k[6])<<16; /* FALLTHRU */ + case 6 : b+=((uint32_t)k[5])<<8; /* FALLTHRU */ + case 5 : b+=k[4]; /* FALLTHRU */ + case 4 : a+=((uint32_t)k[3])<<24; /* FALLTHRU */ + case 3 : a+=((uint32_t)k[2])<<16; /* FALLTHRU */ + case 2 : a+=((uint32_t)k[1])<<8; /* FALLTHRU */ case 1 : a+=k[0]; break; case 0 : return c;
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