Skip to content

Commit 0d671a2

Browse files
committed
Fix signedness error
1 parent 07e1d78 commit 0d671a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/rapidjson/internal/diyfp.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ struct DiyFp {
100100
}
101101

102102
DiyFp Normalize() const {
103-
uint32_t s = RAPIDJSON_CLZLL(f);
103+
int s = static_cast<int>(RAPIDJSON_CLZLL(f));
104104
return DiyFp(f << s, e - s);
105105
}
106106

0 commit comments

Comments
 (0)