projects
/
project
/
libnl-tiny.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
iron out all extra compiler warnings
[project/libnl-tiny.git]
/
genl_mngt.c
diff --git
a/genl_mngt.c
b/genl_mngt.c
index 246521f696a20ca643d60c5d630884917e543ca2..3b603c7ac9bbd6adce2212c9bbc855dc976d733e 100644
(file)
--- a/
genl_mngt.c
+++ b/
genl_mngt.c
@@
-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;
}