You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Changing the signedness of streamIdx in IndexProloque to uint16_t allows to use the same type for all stream indexing. It will break the on-disk format, but only for files with many streams, which are already broken because of the silent overflow?
Changing the size of the members in IndexPrologue or BlockHeader will change the on-disk format and is not an option.
The text was updated successfully, but these errors were encountered:
Hi,
the member
streamIdx
in struct IndexPrologue is of typeint16_t
, thestream_idx
in struct BlockHeader is ofuint16_t
. Then other places use size_t or even int for stream-indexing.This triggers a
-Wsign-compare
here.Changing the signedness of streamIdx in IndexProloque to
uint16_t
allows to use the same type for all stream indexing. It will break the on-disk format, but only for files with many streams, which are already broken because of the silent overflow?Changing the size of the members in IndexPrologue or BlockHeader will change the on-disk format and is not an option.
The text was updated successfully, but these errors were encountered: