ci: fix -cstrict failures for vweb_test.v etc.

pull/13959/head
Delyan Angelov 2022-04-06 08:54:01 +03:00
parent 6412f8ba0b
commit c5d8d27b90
1 changed files with 1 additions and 1 deletions

View File

@ -73,7 +73,7 @@ $dec_fn_dec {
if (!root) {
const char *error_ptr = cJSON_GetErrorPtr();
if (error_ptr != NULL) {
const size_t error_pos = cJSON_GetErrorPos();
const int error_pos = (int)cJSON_GetErrorPos();
int maxcontext_chars = 30;
byte *buf = vcalloc_noscan(maxcontext_chars + 10);
if(error_pos > 0) {