diff options
Diffstat (limited to 'src/jv_unicode.c')
-rw-r--r-- | src/jv_unicode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jv_unicode.c b/src/jv_unicode.c index b3a50b2d..d197349f 100644 --- a/src/jv_unicode.c +++ b/src/jv_unicode.c @@ -9,7 +9,7 @@ // *missing_bytes. If there are no leading bytes or an invalid byte is // encountered, NULL is returned and *missing_bytes is not altered. const char* jvp_utf8_backtrack(const char* start, const char* min, int *missing_bytes) { - assert(min < start); + assert(min <= start); if (min == start) { return min; } |