diff options
author | Jim Meyering <jim@meyering.net> | 2002-04-28 23:54:06 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2002-04-28 23:54:06 +0000 |
commit | 550a02c909fc48ea993145dd88712f976ca6c8e0 (patch) | |
tree | d7d3fbe69a18e68886acec6164da0cdf739f4442 /src | |
parent | 1e2a59b68a9189272008fa941d6a3ab0ec0a3175 (diff) | |
download | coreutils-550a02c909fc48ea993145dd88712f976ca6c8e0.tar.xz |
(make_id_equals_comment): Cast sizeof expression (used as field
width argument) to `int'.
Diffstat (limited to 'src')
-rw-r--r-- | src/who.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -393,7 +393,7 @@ static char * make_id_equals_comment (STRUCT_UTMP const *utmp_ent) { char *comment = xmalloc (sizeof (_("id=")) + sizeof UT_ID (utmp_ent) + 1); - sprintf (comment, "%s%.*s", _("id="), sizeof UT_ID (utmp_ent), + sprintf (comment, "%s%.*s", _("id="), (int) sizeof UT_ID (utmp_ent), UT_ID (utmp_ent)); return comment; } |