ref: 8a6541f79b4a08bcb76508849f8c659b08328ee4
parent: 91de956e2a1eb4748c5724a9cd893a323084e2f6
author: cinap_lenrek <[email protected]>
date: Fri Jan 6 14:30:08 EST 2023
libc: fix parentesis warning from gcc
--- a/libc/strtod.c
+++ b/libc/strtod.c
@@ -526,7 +526,7 @@
{
int c1, c2;
- while(c1 = *b++) {
+ while((c1 = *b++) != 0) {
c2 = *a++;
if(isupper(c2))
c2 = tolower(c2);