File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
components/TARGET_PSA/services/attestation/qcbor/test Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -681,11 +681,11 @@ const char *UBUTest_CopyUtil()
681
681
return "CopyFloatToUint32 failed" ;
682
682
}
683
683
684
- if (UsefulBufUtil_CopyDoubleToUint64 (4e-40F ) != 0X37C16C2800000000ULL ) {
684
+ if (UsefulBufUtil_CopyDoubleToUint64 (4e-40L ) != 0X37C16C2800000000ULL ) {
685
685
return "CopyDoubleToUint64 failed" ;
686
686
}
687
687
688
- if (UsefulBufUtil_CopyUint64ToDouble (0X37C16C2800000000ULL ) != 4e-40F ) {
688
+ if (UsefulBufUtil_CopyUint64ToDouble (0X37C16C2800000000ULL ) != 4e-40L ) {
689
689
return "CopyUint64ToDouble failed" ;
690
690
}
691
691
Original file line number Diff line number Diff line change @@ -379,7 +379,7 @@ int DoubleAsSmallestTest()
379
379
// 70 # text(16)
380
380
// 7375626E6F726D616C2073696E676C65 # "subnormal single"
381
381
// FB 37C16C2800000000 # primitive(4017611261645684736)
382
- QCBOREncode_AddDoubleAsSmallestToMap (& EC , "subnormal single" , 4e-40F );
382
+ QCBOREncode_AddDoubleAsSmallestToMap (& EC , "subnormal single" , 4e-40L );
383
383
384
384
// 03 # unsigned(3)
385
385
// F9 C000 # primitive(49152)
You can’t perform that action at this time.
0 commit comments