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_thread.cpp (1 of 37 files). Show all

Unified · Split

src/core/util_thread.cpp+1−1
@@ -505,7 +505,7 @@ t_CKBOOL XThreadUtil::set_priority( CHUCK_THREAD tid, t_CKINT priority ) · 504 unmodified lines
505 // policy505 // policy
506 policy = SCHED_RR;506 policy = SCHED_RR;
507 // priority507 // priority
508 param.sched_priority = priority;508 param.sched_priority = (int)priority;
509 // set for thread, pthread style509 // set for thread, pthread style
510 if( pthread_setschedparam( tid, policy, &param ) )510 if( pthread_setschedparam( tid, policy, &param ) )
511 return FALSE;511 return FALSE;

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