Fix compiler sign-mismatch warnings

Signed-off-by: Ran Benita <ran234@gmail.com>
Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
This commit is contained in:
Ran Benita 2011-12-31 12:39:09 +02:00 committed by David Herrmann
parent 01e469b9ec
commit 0d0cac0ad1
2 changed files with 3 additions and 3 deletions

View File

@ -296,7 +296,7 @@ int kmscon_eloop_add_fd(struct kmscon_eloop *loop, struct kmscon_fd *fd,
void kmscon_eloop_rm_fd(struct kmscon_fd *fd)
{
struct kmscon_eloop *loop;
int i;
size_t i;
if (!fd || !fd->loop)
return;

View File

@ -1131,8 +1131,8 @@ int kmscon_compositor_refresh(struct kmscon_compositor *comp)
{
drmModeConnector *conn;
drmModeRes *res;
size_t i;
int cid;
int i;
uint32_t cid;
struct kmscon_output *output, *tmp;
if (!comp || comp->state != COMPOSITOR_AWAKE)