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
@@ -3502,7 +3502,7 @@ public static unsafe extern int mju_str2Type([MarshalAs(UnmanagedType.LPStr)]str
[DllImport("mujoco", CallingConvention = CallingConvention.Cdecl)]
[return: MarshalAs(UnmanagedType.LPStr)]
public static unsafe extern string mju_warningText(int warning, int info);
public static unsafe extern string mju_warningText(int warning, UIntPtr info);
[DllImport("mujoco", CallingConvention = CallingConvention.Cdecl)]
public static unsafe extern int mju_isBad(double x);