diff options
author | Eamon Walsh <ewalsh@tycho.nsa.gov> | 2011-06-01 13:52:58 -0400 |
---|---|---|
committer | Eamon Walsh <ewalsh@tycho.nsa.gov> | 2011-06-01 15:42:15 -0400 |
commit | a77dbaf7a204f96eb52bf32246be51ca39890dda (patch) | |
tree | 59571f7bd19d5baa35746bb63ef8fc542dc99101 /libvchan | |
parent | c2e78a7592b25f68ee5f5b242fbdb5cb6d6e2b20 (diff) |
Fix libvchan warnings.
Diffstat (limited to 'libvchan')
-rw-r--r-- | libvchan/init.c | 2 | ||||
-rw-r--r-- | libvchan/node.c | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/libvchan/init.c b/libvchan/init.c index be4396d..a810619 100644 --- a/libvchan/init.c +++ b/libvchan/init.c @@ -389,7 +389,7 @@ struct libvchan *libvchan_client_init(int domain, int devno) char buf[64]; char *ref; int ring_ref; - int len; + unsigned int len; if (!ctrl) return 0; ctrl->other_domain_id = domain; diff --git a/libvchan/node.c b/libvchan/node.c index 69c8fb5..4d850b0 100644 --- a/libvchan/node.c +++ b/libvchan/node.c @@ -23,6 +23,7 @@ #include <stdio.h> #include <string.h> #include <unistd.h> +#include <time.h> #include "libvchan.h" |