]> andersk Git - libyaml.git/blobdiff - src/yaml_private.h
fix clang -Wlogical-op warnings
[libyaml.git] / src / yaml_private.h
index eb722077dfc01d72883c228883749ea72463bb2c..d2971b8c1b5f0db16d6eedda220019ac36c0af52 100644 (file)
@@ -171,14 +171,14 @@ yaml_string_join(
  * Check the octet at the specified position.
  */
 
-#define CHECK_AT(string,octet,offset)                                           \
+#define CHECK_AT(string,octet,offset)                   \
     ((string).pointer[offset] == (yaml_char_t)(octet))
 
 /*
  * Check the current octet in the buffer.
  */
 
-#define CHECK(string,octet) CHECK_AT((string),(octet),0)
+#define CHECK(string,octet) (CHECK_AT((string),(octet),0))
 
 /*
  * Check if the character at the specified position is an alphabetical
This page took 0.036738 seconds and 4 git commands to generate.