Fix formatting of large unsigned numbers in mju_warningText.

PiperOrigin-RevId: 479902611
Change-Id: Ia7187478a246b8b068684e75d6f3851d749844c9
This commit is contained in:
Saran Tunyasuvunakool
2022-10-09 04:54:39 -07:00
committed by Copybara-Service
parent c2f1381f31
commit 1a393429ef
5 changed files with 15 additions and 13 deletions
+1 -1
View File
@@ -1087,7 +1087,7 @@ MJAPI const char* mju_type2Str(int type);
MJAPI int mju_str2Type(const char* str);
// Construct a warning message given the warning type and info.
MJAPI const char* mju_warningText(int warning, int info);
MJAPI const char* mju_warningText(int warning, size_t info);
// Return 1 if nan or abs(x)>mjMAXVAL, 0 otherwise. Used by check functions.
MJAPI int mju_isBad(mjtNum x);