diff options
author | Mario Forzanini <mario.forzanini@studenti.unimi.it> | 2024-06-10 10:15:59 +0200 |
---|---|---|
committer | Mario Forzanini <mario.forzanini@studenti.unimi.it> | 2024-06-10 10:15:59 +0200 |
commit | 49c35e79910f35b85c3f46ccc338b6bfc362c5d2 (patch) | |
tree | 94df9f80aa97183afe5d7e7d805ea24d6776ff5f | |
parent | 13f31c76a40255e84eba5515ca2ec0c25161d84d (diff) |
-rw-r--r-- | std.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -126,7 +126,10 @@ string_downcase(String str) { for (size_t i = 0; i < str.len; i++) { if (str.buf[i] >= 'A' && str.buf[i] <= 'Z') { +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wconversion" str.buf[i] += 'a' - 'A'; +#pragma GCC diagnostic pop } } } |