master/module.c
changeset 101 b0c19892145a
parent 98 f564d0929292
child 104 052bc82d5442
--- a/master/module.c	Mon Mar 06 16:25:12 2006 +0000
+++ b/master/module.c	Wed Mar 08 13:23:56 2006 +0000
@@ -43,7 +43,7 @@
 
 int ec_master_count = 1;
 ec_master_t *ec_masters = NULL;
-int *ec_masters_reserved = NULL;
+unsigned int *ec_masters_reserved = NULL;
 
 /*****************************************************************************/
 
@@ -88,7 +88,8 @@
     }
 
     if ((ec_masters_reserved =
-         (int *) kmalloc(sizeof(int) * ec_master_count, GFP_KERNEL)) == NULL) {
+         (unsigned int *) kmalloc(sizeof(int) * ec_master_count,
+                                  GFP_KERNEL)) == NULL) {
         EC_ERR("Could not allocate memory for reservation flags!\n");
         kfree(ec_masters);
         return -1;