Explorar o código

core: str - fixed wrong (undo'ed) version of STR_ZTOV() macro

Daniel-Constantin Mierla %!s(int64=5) %!d(string=hai) anos
pai
achega
65ab73a7ef
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/core/str.h

+ 1 - 1
src/core/str.h

@@ -137,7 +137,7 @@ typedef struct _str str;
 		if (v != '\0') { \
 			c = v; \
 		} \
-	}
+	} while(0)
 
 /** @} */