Commit 4bd38cf
committed
Silence the annoying warning in MSVC about undeclared bswap
..\..\src\cborparser.c(149): warning C4013: '_byteswap_ushort' undefined; assuming extern returning int
..\..\src\cborparser.c(156): warning C4013: '_byteswap_ulong' undefined; assuming extern returning int
..\..\src\cborparser.c(163): warning C4013: '_byteswap_uint64' undefined; assuming extern returning int
This apparently also fixes the unit test failures.
FAIL! : tst_Parser::fixed(UINT32_MAX+1) Compared values are not the same
Actual (decoded) : "0_3"
Expected (expected): "4294967296"
.\tst_parser.cpp(233) : failure location
Signed-off-by: Thiago Macieira <thiago.macieira@intel.com>1 parent 49c15d9 commit 4bd38cf
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
125 | 125 | | |
126 | 126 | | |
127 | 127 | | |
| 128 | + | |
128 | 129 | | |
129 | 130 | | |
130 | 131 | | |
| |||
0 commit comments