소스 검색

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

Daniel-Constantin Mierla 5 년 전
부모
커밋
65ab73a7ef
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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)
 
 /** @} */