mirror of
https://github.com/scylladb/scylladb.git
synced 2026-06-01 12:36:56 +00:00
As Nadav noticed in his bug report, check_marker is creating its error messages using characters instead of numbers - which is what we intended here in the first place. That happens because sprint(), when faced with an 8-byte type, interprets this as a character. To avoid that we'll use uint16_t types, taking care not to sign-extend them. The bug also noted that one of the error messages is missing a parameter, and that is also fixed. Fixes #1122 Signed-off-by: Glauber Costa <glauber@scylladb.com> Message-Id: <74f825bbff8488ffeb1911e626db51eed88629b1.1459266115.git.glauber@scylladb.com>