We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1720f8a commit a417814Copy full SHA for a417814
uuid.pyx
@@ -65,7 +65,7 @@ cdef pg_uuid_bytes_from_str(str u, char *out):
65
Py_ssize_t size
66
unsigned char ch
67
uint8_t acc, part, acc_set
68
- uint8_t i, j
+ int i, j
69
70
orig_buf = <char*>cpythonx.PyUnicode_AsUTF8AndSize(u, &size)
71
if size > 36 or size < 32:
@@ -75,7 +75,7 @@ cdef pg_uuid_bytes_from_str(str u, char *out):
75
76
acc_set = 0
77
j = 0
78
- for i in range(0, size):
+ for i in range(size):
79
ch = <unsigned char>orig_buf[i]
80
if ch == <unsigned char>b'-':
81
continue
0 commit comments