Fix another warning

This commit is contained in:
Jasmine Iwanek
2023-01-04 00:26:07 -05:00
parent 62817b55c9
commit d6b118a4fc

View File

@@ -88,7 +88,7 @@ discord_update_activity(int paused)
*(paren - 1) = '\0';
#pragma GCC diagnostic push
#if defined(__GNUC__)
#if defined(__GNUC__) && !defined (__clang__)
# pragma GCC diagnostic ignored "-Wformat-truncation"
#endif
if (strlen(vm_name) < 100) {