* src/vmcore/options.c (options_xx): Fixed warnings.
authortwisti <none@none>
Sun, 1 Jul 2007 17:49:25 +0000 (17:49 +0000)
committertwisti <none@none>
Sun, 1 Jul 2007 17:49:25 +0000 (17:49 +0000)
src/vmcore/options.c

index 09bc6723474b96c11fa16099d567662bcf104f14..f95286c2ff989f4cef76ec7ce115b618ec69d7e3 100644 (file)
@@ -22,7 +22,7 @@
    Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
    02110-1301, USA.
 
-   $Id: options.c 8134 2007-06-22 14:49:10Z twisti $
+   $Id: options.c 8174 2007-07-01 17:49:25Z twisti $
 
 */
 
@@ -307,15 +307,15 @@ s4 options_get(opt_struct *opts, JavaVMInitArgs *vm_args)
 
 void options_xx(const char *name)
 {
-       char    *start;
-       char    *end;
-       int32_t  length;
-       int32_t  enable;
-       char    *value;
-       int32_t  option;
-       char    *filename;
-       FILE    *file;
-       int32_t  i;
+       const char *start;
+       char       *end;
+       int32_t     length;
+       int32_t     enable;
+       char       *value;
+       int32_t     option;
+       char       *filename;
+       FILE       *file;
+       int32_t     i;
 
        /* Check if the option is a boolean option. */