Increase buffer size.

The smaller size is a warning/error on some targets:

```
error: ‘ bytes’ directive output may be truncated writing 6 bytes into a region of size between 0 and 15
```
PiperOrigin-RevId: 823047552
Change-Id: Id66b5828cf84a512dffc452753f1881deb685584
This commit is contained in:
Haroon Qureshi
2025-10-23 08:15:57 -07:00
committed by Copybara-Service
parent 1fd9b47fea
commit 99c18f07d3
+1 -1
View File
@@ -344,7 +344,7 @@ static void printVector(const char* str, const mjtNum* data, int n, FILE* fp,
// print human readable memory size
static const char* memorySize(size_t nbytes) {
static mjTHREADLOCAL char message[20];
static mjTHREADLOCAL char message[32];
int k = 1024;
if (nbytes < k) {