mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-14 10:37:23 -07:00
Use snprintf in client/deps
This commit is contained in:
parent
1711338035
commit
fe4599fb14
7 changed files with 35 additions and 35 deletions
|
@ -408,7 +408,7 @@
|
|||
*/
|
||||
#define LUA_NUMBER_SCAN "%lf"
|
||||
#define LUA_NUMBER_FMT "%.14g"
|
||||
#define lua_number2str(s,n) sprintf((s), LUA_NUMBER_FMT, (n))
|
||||
#define lua_number2str(s,l,n) snprintf((s), (l), LUA_NUMBER_FMT, (n))
|
||||
#define LUAI_MAXNUMBER2STR 32 /* 16 digits, sign, point, and \0 */
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue