History

updating sprintf() functions to snprintf(); additional changes for type casting consistency

Ge Wang committed 3 years ago

Commit 725e88b1 parent 452dff937 files · +282 −257Browse files

Showing the changes to src/core/util_console.cpp (1 of 37 files). Show all

Unified · Split

src/core/util_console.cpp+1−1
@@ -176,7 +176,7 @@ void kb_endwin() · 175 unmodified lines
176t_CKINT kb_hit()176t_CKINT kb_hit()
177{177{
178#ifndef __PLATFORM_WIN32__178#ifndef __PLATFORM_WIN32__
179 int ifkeyin;179 long ifkeyin;
180 char c;180 char c;
181 ifkeyin = read( 0, &c, 1 );181 ifkeyin = read( 0, &c, 1 );
182 g_c = (t_CKINT)c;182 g_c = (t_CKINT)c;

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t