Skip to content

Commit 21735ac

Browse files
committed
pq: fix MSVC C4146 warning
1 parent 72dabe1 commit 21735ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

boring-sys/patches/boring-pq.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -503,7 +503,7 @@ index d3ea02090..ccb5b3d9b 100644
503503
+ for(i=0;i<len;i++)
504504
+ r |= a[i] ^ b[i];
505505
+
506-
+ return (-(uint64_t)r) >> 63;
506+
+ return (0-(uint64_t)r) >> 63;
507507
+}
508508
+
509509
+/*************************************************

0 commit comments

Comments
 (0)