mirror of
https://github.com/libretro/libretro-common.git
synced 2024-11-23 08:09:43 +00:00
Resync
This commit is contained in:
parent
a5a15bdd47
commit
9acaca19a6
@ -117,10 +117,10 @@ static void zlib_inflate_stream_free(void *data)
|
||||
|
||||
static bool zlib_deflate_define(void *data, const char *prop, uint32_t val)
|
||||
{
|
||||
struct zlib_trans_stream *z = (struct zlib_trans_stream*)data;
|
||||
if (!data)
|
||||
return false;
|
||||
|
||||
struct zlib_trans_stream *z = (struct zlib_trans_stream *) data;
|
||||
if (string_is_equal(prop, "level"))
|
||||
z->level = (int) val;
|
||||
else if (string_is_equal(prop, "window_bits"))
|
||||
@ -133,10 +133,10 @@ static bool zlib_deflate_define(void *data, const char *prop, uint32_t val)
|
||||
|
||||
static bool zlib_inflate_define(void *data, const char *prop, uint32_t val)
|
||||
{
|
||||
struct zlib_trans_stream *z = (struct zlib_trans_stream*)data;
|
||||
if (!data)
|
||||
return false;
|
||||
|
||||
struct zlib_trans_stream *z = (struct zlib_trans_stream *) data;
|
||||
if (string_is_equal(prop, "window_bits"))
|
||||
{
|
||||
z->window_bits = (int) val;
|
||||
|
Loading…
Reference in New Issue
Block a user