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.
1 parent 3df987b commit e116563Copy full SHA for e116563
tests/unit/test_gpu.c
@@ -2,6 +2,8 @@
2
#include "sentry_scope.h"
3
#include "sentry_testsupport.h"
4
5
+#include <inttypes.h>
6
+
7
SENTRY_TEST(gpu_info_basic)
8
{
9
sentry_gpu_list_t *gpu_list = sentry__get_gpu_info();
@@ -366,7 +368,7 @@ SENTRY_TEST(gpu_info_hybrid_setup_simulation)
366
368
printf(" Driver: %s\n", gpu_info->driver_version);
367
369
}
370
if (gpu_info->memory_size > 0) {
- printf(" Memory: %zu bytes\n", gpu_info->memory_size);
371
+ printf(" Memory: %" PRIu64 " bytes\n", gpu_info->memory_size);
372
373
} else {
374
has_other = true;
0 commit comments