diff options
| author | 2023-06-03 16:52:00 -0400 | |
|---|---|---|
| committer | 2023-06-03 16:52:00 -0400 | |
| commit | 982d9385b988835072c4fb000eca61b026fc1d6f (patch) | |
| tree | 16856a395b25782f38de5b94dc32cd25171b20ac /src/emu/debug/debugcmd.cpp | |
| parent | d28d93b9dd6950302ba26d5cb5d981b30d5a0025 (diff) | |
Clean up several sprintf() deprecation warningss in non-3rdparty code. [R. Belmont]
Diffstat (limited to 'src/emu/debug/debugcmd.cpp')
| -rw-r--r-- | src/emu/debug/debugcmd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/debug/debugcmd.cpp b/src/emu/debug/debugcmd.cpp index 813baee1841..730565494a4 100644 --- a/src/emu/debug/debugcmd.cpp +++ b/src/emu/debug/debugcmd.cpp @@ -170,7 +170,7 @@ debugger_commands::debugger_commands(running_machine& machine, debugger_cpu& cpu if ((valcount == 1) && (blockcount == 1) && strstr(name, "/globals/")) { char symname[100]; - sprintf(symname, ".%s", strrchr(name, '/') + 1); + snprintf(symname, 100, ".%s", strrchr(name, '/') + 1); m_global_array[itemnum].base = base; m_global_array[itemnum].size = valsize; symtable.add( |
