mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
ci: fix -cstrict failures for vweb_test.v etc.
This commit is contained in:
parent
6412f8ba0b
commit
c5d8d27b90
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user