]> git.ozlabs.org Git - yaboot.git/blobdiff - second/fs_swap.c
warnings: Add explict casts to silence many compiler warnings about sign comparisions.
[yaboot.git] / second / fs_swap.c
index cfa57094567550d3f8aff78a31722d9da016cb85..87da8775f85c8db55e7101261e88a4ac56f713e6 100644 (file)
@@ -54,7 +54,7 @@ swap_open(struct boot_file_t* file, struct partition_t* part,
      int i;
      unsigned char *buffer;
      /* Make static to move into the BSS rather then the stack */
-     static unsigned char device_name[1024];
+     static char device_name[1024];
 
      DEBUG_ENTER;
      DEBUG_OPEN;