summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
07c3971)
Similar to previous commit, use int type as the first parameter to
printf field width specifier (%.*s).
if (minsize < view->width)
refsize = view->width - minsize + 7;
if (minsize < view->width)
refsize = view->width - minsize + 7;
- string_format_from(buf, &bufpos, " %.*s", refsize, view->ref);
+ string_format_from(buf, &bufpos, " %.*s", (int) refsize, view->ref);
}
if (statelen && bufpos < view->width) {
}
if (statelen && bufpos < view->width) {