Skip to content

Commit 307ad9a

Browse files
committed
Change length in index header to unsigned
No reason for it to be signed, and it means values >= 0x8000 can fail Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>
1 parent ade0ba7 commit 307ad9a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

system/jhtree/ctfile.hpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ struct __declspec(novtable) jhtree_decl KeyHdr
7373
unsigned char flalgn; /* file alignment 66x */
7474
unsigned char flpntr; /* file pointer size 67x */
7575
unsigned short clstyp; /* flag for file type 68x */
76-
short length; /* key length 6ax */
76+
unsigned short length; /* key length 6ax */
7777
short nmem; /* number of members 6cx */
7878
short kmem; /* member number 6ex */
7979
__int64 lanchr; /* left most leaf anchor 70x */

0 commit comments

Comments
 (0)