mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-24 00:20:01 +00:00
(libretrodb) Cleanups
This commit is contained in:
parent
0e2345227a
commit
41b6f622c4
@ -79,7 +79,7 @@ static void raise_enomem(const char **error)
|
||||
}
|
||||
|
||||
static void raise_unknown_function(off_t where, const char *name,
|
||||
size_t len, const char **error)
|
||||
ssize_t len, const char **error)
|
||||
{
|
||||
int n = snprintf(tmp_error_buff, MAX_ERROR_LEN,
|
||||
#ifdef _WIN32
|
||||
|
@ -27,7 +27,7 @@ static struct rmsgpack_dom_value *dom_reader_state_pop(
|
||||
|
||||
static void puts_i64(int64_t dec)
|
||||
{
|
||||
int i;
|
||||
unsigned i;
|
||||
signed char digits[19 + 1] = {0}; /* max i64: 9,223,372,036,854,775,807 */
|
||||
uint64_t decimal = (dec < 0) ? (uint64_t)-dec : (uint64_t)+dec;
|
||||
|
||||
@ -52,7 +52,7 @@ static void puts_i64(int64_t dec)
|
||||
|
||||
static void puts_u64(uint64_t decimal)
|
||||
{
|
||||
int i;
|
||||
unsigned i;
|
||||
char digits[20 + 1] = {0}; /* max u64: 18,446,744,073,709,551,616 */
|
||||
|
||||
for (i = sizeof(digits) - 2; i >= 0; i--)
|
||||
|
Loading…
Reference in New Issue
Block a user