mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-03-09 15:50:02 +00:00
dtcm: Resolve format warnings
This commit is contained in:
parent
2794ba9c44
commit
bee6662b0f
2 changed files with 2 additions and 2 deletions
|
@ -266,7 +266,7 @@ set_time_submenu(Widget parent,
|
||||||
|
|
||||||
XmString xmstr;
|
XmString xmstr;
|
||||||
int i, j, allocation_counter = 0;
|
int i, j, allocation_counter = 0;
|
||||||
char buf[4], buf2[10];
|
char buf[12], buf2[24];
|
||||||
Widget menu, menuitem;
|
Widget menu, menuitem;
|
||||||
DisplayType dt = get_int_prop(p, CP_DEFAULTDISP);
|
DisplayType dt = get_int_prop(p, CP_DEFAULTDISP);
|
||||||
int beg = get_int_prop(p, CP_DAYBEGIN);
|
int beg = get_int_prop(p, CP_DAYBEGIN);
|
||||||
|
|
|
@ -247,7 +247,7 @@ r_set_bfpm_vals(
|
||||||
sprintf(buf, "%d", seconds_to_minutes(val->scope_val));
|
sprintf(buf, "%d", seconds_to_minutes(val->scope_val));
|
||||||
}
|
}
|
||||||
} else
|
} else
|
||||||
sprintf(buf, "%d", val->scope_val);
|
sprintf(buf, "%ld", (long) val->scope_val);
|
||||||
|
|
||||||
switch ( scope ) {
|
switch ( scope ) {
|
||||||
case TIME_MINS :
|
case TIME_MINS :
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue