We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8d3df49 + 047ae74 commit 84766eeCopy full SHA for 84766ee
Dynamix_chart_width_control/main.cpp
@@ -250,7 +250,7 @@ int main(int argc, char* argv[])
250
istr >> new_barpm;
251
}
252
char new_barpm_string[64];
253
- sprintf_s(new_barpm_string, "%f", new_barpm);
+ snprintf(new_barpm_string, sizeof(new_barpm_string), "%f", new_barpm);
254
cs.set_barpm(new_barpm);
255
cout << "Barpm is set to " + string(new_barpm_string) + "." << endl;
256
cout << "===============================" << endl;
0 commit comments