Changeset 2516 in kBuild
- Timestamp:
- Jul 26, 2011 10:04:11 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kmk/function.c
r2495 r2516 2683 2683 { 2684 2684 const char *in = argv[0]; 2685 size_t in_len =strlen (in);2685 math_int in_len = (math_int)strlen (in); 2686 2686 const char *str = argv[1]; 2687 size_t str_len =strlen (str);2687 math_int str_len = (math_int)strlen (str); 2688 2688 math_int n = 0; 2689 2689 math_int length = str_len; … … 2826 2826 { 2827 2827 const char *str = argv[0]; 2828 size_t str_len =strlen (str);2828 math_int str_len = (math_int)strlen (str); 2829 2829 math_int start = math_int_from_string (argv[1]); 2830 2830 math_int length = 0; … … 3614 3614 /* cwd needs leading spaces chopped and may be optional, 3615 3615 in which case we're exactly like $(abspath ). */ 3616 while (isblank(*cwd)) 3617 cwd++; 3618 if (!*cwd) 3616 if (cwd) 3617 while (isblank (*cwd)) 3618 cwd++; 3619 if (!cwd || !*cwd) 3619 3620 o = func_abspath (o, argv, funcname); 3620 3621 else … … 4656 4657 else 4657 4658 { 4658 error (NILF, _("bad number: '%s' (base=% d, pos=%d)\n"), start, base, str - start);4659 error (NILF, _("bad number: '%s' (base=%u, pos=%lu)\n"), start, base, (unsigned long)(str - start)); 4659 4660 return 0; 4660 4661 }
Note:
See TracChangeset
for help on using the changeset viewer.