1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-25 04:16:38 +02:00

tests: fix compiler warnings on calls to snprintf

This commit is contained in:
Sébastien Helleu
2018-07-13 22:35:39 +02:00
parent 2682fb450d
commit e0cecefb0f
+1 -1
View File
@@ -120,7 +120,7 @@ TEST_GROUP(Scripts)
TEST(Scripts, API)
{
char path_testapigen[PATH_MAX], path_testapi[PATH_MAX];
char *path_testapi_output_dir, str_command[4096];
char *path_testapi_output_dir, str_command[(PATH_MAX * 2) + 128];
char *test_scripts_dir;
struct timeval time_start, time_end;
long long diff;