diff --git a/src/schema_compile_amend.c b/src/schema_compile_amend.c
index 240804c..8a45764 100644
--- a/src/schema_compile_amend.c
+++ b/src/schema_compile_amend.c
@@ -1416,7 +1416,7 @@
 
     if (pnode) {
         /* compare on the last parsed-only node */
-        if (pnode_mod != mod || ly_strncmp(pnode->name, name, name_len)) {
+        if ((pnode_mod != mod) || ly_strncmp(pnode->name, name, name_len)) {
             return 0;
         }
     } else {
diff --git a/src/tree_schema_helpers.c b/src/tree_schema_helpers.c
index 61b7c89..36b2c50 100644
--- a/src/tree_schema_helpers.c
+++ b/src/tree_schema_helpers.c
@@ -1280,7 +1280,7 @@
         return NULL;
     }
 
-    switch(node->nodetype) {
+    switch (node->nodetype) {
     case LYS_CONTAINER:
         return &((struct lysp_node_container *)node)->musts;
     case LYS_LEAF:
@@ -1322,7 +1322,7 @@
         return NULL;
     }
 
-    switch(node->nodetype) {
+    switch (node->nodetype) {
     case LYS_CONTAINER:
         return &((struct lysp_node_container *)node)->when;
     case LYS_CHOICE:
@@ -1478,7 +1478,7 @@
         return NULL;
     }
 
-    switch(node->nodetype) {
+    switch (node->nodetype) {
     case LYS_CONTAINER:
         return &((struct lysc_node_container *)node)->musts;
     case LYS_LEAF:
@@ -1520,7 +1520,7 @@
         return NULL;
     }
 
-    switch(node->nodetype) {
+    switch (node->nodetype) {
     case LYS_CONTAINER:
         return &((struct lysc_node_container *)node)->when;
     case LYS_CHOICE:
