Skip to content

Commit

Permalink
rarch_file_log_set_override - size_t return
Browse files Browse the repository at this point in the history
  • Loading branch information
LibretroAdmin committed Jan 12, 2025
1 parent fb338b9 commit 598764b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions verbosity.c
Original file line number Diff line number Diff line change
Expand Up @@ -438,12 +438,11 @@ void RARCH_ERR(const char *fmt, ...)
}
#endif

void rarch_log_file_set_override(const char *path)
size_t rarch_log_file_set_override(const char *path)
{
verbosity_state_t *g_verbosity = &main_verbosity_st;

g_verbosity->override_active = true;
strlcpy(g_verbosity->override_path, path,
return strlcpy(g_verbosity->override_path, path,
sizeof(g_verbosity->override_path));
}

Expand Down
2 changes: 1 addition & 1 deletion verbosity.h
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ void rarch_log_file_init(

void rarch_log_file_deinit(void);

void rarch_log_file_set_override(const char *path);
size_t rarch_log_file_set_override(const char *path);


RETRO_END_DECLS
Expand Down

0 comments on commit 598764b

Please sign in to comment.