iron out all extra compiler warnings
[project/libnl-tiny.git] / genl_mngt.c
index 246521f696a20ca643d60c5d630884917e543ca2..3b603c7ac9bbd6adce2212c9bbc855dc976d733e 100644 (file)
@@ -154,7 +154,7 @@ int genl_register(struct nl_cache_ops *ops)
                goto errout;
        }
 
-       if (ops->co_hdrsize < GENL_HDRSIZE(0)) {
+       if ((size_t) ops->co_hdrsize < GENL_HDRSIZE(0)) {
                err = -NLE_INVAL;
                goto errout;
        }