VirtualBox

Changeset 940 in kBuild for trunk/src


Ignore:
Timestamp:
May 26, 2007 8:09:15 PM (18 years ago)
Author:
bird
Message:

Some more warnings.

Location:
trunk/src/gmakenew
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/gmakenew/function.c

    r925 r940  
    21652165{
    21662166  /* Expand the argument.  */
    2167   char *p = argv[0];
     2167  const char *p = argv[0];
    21682168  char *cwd = argv[1];
    21692169  unsigned int cwd_len = ~0U;
     
    23262326    {
    23272327      unsigned int len;
    2328       char *iterator = (char *)args;
     2328      const char *iterator = args;
    23292329      const char *end = args;
    23302330      const char *cur;
     
    26812681      {
    26822682        unsigned int len;
    2683         char *iterator = stack_var->value;
     2683        const char *iterator = stack_var->value;
    26842684        char *lastitem = NULL;
    26852685        char *cur;
  • trunk/src/gmakenew/main.c

    r938 r940  
    15901590       && stat ("makefile.kmk", &st) < 0)
    15911591        {
    1592           static char  fake_path[3*16 + 32] = "..";
    1593           static char *fake_list[2] = { &fake_path[0], NULL };
     1592          static char fake_path[3*16 + 32] = "..";
     1593          static const char *fake_list[2] = { &fake_path[0], NULL };
    15941594          struct stringlist fake_directories = { &fake_list[0], 1, 0 };
    15951595
  • trunk/src/gmakenew/read.c

    r937 r940  
    33923392              }
    33933393#if defined(KMK) || defined(__EMX__) /* speed optimization */
    3394             if (gl.gl_pathv != &gname)
     3394            if (gl.gl_pathv != (char **)&gname)
    33953395#endif
    33963396            globfree (&gl);
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette