VirtualBox

Changeset 1819 in kBuild for trunk/src/kmk


Ignore:
Timestamp:
Oct 10, 2008 5:59:00 PM (16 years ago)
Author:
bird
Message:

kmk: 64-bit fix (forgotten).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kmk/expand.c

    r1809 r1819  
    10311031  char *obuf = variable_buffer;
    10321032  unsigned int olen = variable_buffer_length;
     1033  long len = length == ~0U ? -1L : (long)length;
    10331034
    10341035  variable_buffer = 0;
    10351036
    10361037  if (!value_len)
    1037     value = variable_expand_string (NULL, line, length != ~0U ? length : -1);
     1038    value = variable_expand_string (NULL, line, len);
    10381039  else
    10391040    {
    10401041      char *eol;
    1041       value = variable_expand_string_2 (NULL, line,
    1042                                         length != ~0U ? length : -1, &eol);
     1042      value = variable_expand_string_2 (NULL, line, len, &eol);
    10431043      *value_len = eol - value;
    10441044    }
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