nouveau: fix annoying compiler warning
authorBen Skeggs <bskeggs@redhat.com>
Fri, 19 Mar 2010 00:20:09 +0000 (10:20 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Fri, 19 Mar 2010 00:20:15 +0000 (10:20 +1000)
nouveau/nouveau_channel.c

index 5622c1d..40a0b34 100644 (file)
@@ -106,7 +106,7 @@ nouveau_channel_free(struct nouveau_channel **chan)
        struct nouveau_channel_priv *nvchan;
        struct nouveau_device_priv *nvdev;
        struct drm_nouveau_channel_free cf;
-       int i;
+       unsigned i;
 
        if (!chan || !*chan)
                return;