Commit 7429bb2
COMP: Fix type mismatch ambiguity
jsoncpp/src/test_lib_json/main.cpp:354:31: error:
implicit conversion changes signedness: 'int' to
'std::__1::vector<Json::Value *, std::__1::allocator<Json::Value *> >::size_type'
aka 'unsigned long') [-Werror,-Wsign-conversion]
JSONTEST_ASSERT_EQUAL(vec[i], &array[i]);
~~~ ^1 parent 2eb20a9 commit 7429bb2
1 file changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
350 | 350 | | |
351 | 351 | | |
352 | 352 | | |
353 | | - | |
| 353 | + | |
354 | 354 | | |
355 | 355 | | |
356 | 356 | | |
| |||
362 | 362 | | |
363 | 363 | | |
364 | 364 | | |
365 | | - | |
| 365 | + | |
366 | 366 | | |
367 | 367 | | |
368 | 368 | | |
| |||
376 | 376 | | |
377 | 377 | | |
378 | 378 | | |
379 | | - | |
| 379 | + | |
380 | 380 | | |
381 | 381 | | |
382 | 382 | | |
| |||
0 commit comments