Skip to content

Commit 2aad211

Browse files
methaneCopilot
andauthored
Apply suggestions from code review
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
1 parent 36fd127 commit 2aad211

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

msgpack/unpack.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ static int unpack_timestamp(const char* buf, unsigned int buflen, msgpack_timest
282282
return -1;
283283
}
284284
if (ts->tv_nsec > 999999999) {
285-
PyErr_Format(PyExc_ValueError, "nanoseconds must be a non-negative integer less than 999999999.");
285+
PyErr_Format(PyExc_ValueError, "nanoseconds must be a non-negative integer not greater than 999999999.");
286286
return -1;
287287
}
288288
return 0;

0 commit comments

Comments
 (0)