libyang REFACTOR use size-specific int types instead of generic types (#1177)

Align parameters' types with the values in (internal) structures.
diff --git a/src/path.c b/src/path.c
index 5a65ada..88f24a9 100644
--- a/src/path.c
+++ b/src/path.c
@@ -697,7 +697,7 @@
     const struct lys_module *mod;
     const struct lysc_node *node2, *cur_node, *op;
     struct ly_path *p = NULL;
-    int getnext_opts;
+    uint32_t getnext_opts;
     const char *name;
     size_t name_len;