path: root/libmu_scm
authorSergey Poznyakoff <>2002-12-10 15:01:46 (GMT)
committer Sergey Poznyakoff <>2002-12-10 15:01:46 (GMT)
commitd531c1a9e844c1c6f2c13774b3f6ed62178cb557 (patch) (side-by-side diff)
tree54c8b7e4dfd8003fde1111a6538bcd0cf9b365f9 /libmu_scm
parentc1bedde563005931bd89fd9eb947b6d8ffb85814 (diff)
Added typecasts to shut the compiler warnings
Diffstat (limited to 'libmu_scm') (more/less context) (ignore whitespace changes)
2 files changed, 4 insertions, 2 deletions
diff --git a/libmu_scm/mu_body.c b/libmu_scm/mu_body.c
index 18ad853..d16af1e 100644
--- a/libmu_scm/mu_body.c
+++ b/libmu_scm/mu_body.c
@@ -66,7 +66,8 @@ mu_scm_body_print (SCM body_smob, SCM port, scm_print_state * pstate)
scm_puts (buffer, port);
scm_puts ("\" ", port);
- snprintf (buffer, sizeof (buffer), "%3ld %-5ld", b_lines, b_size);
+ snprintf (buffer, sizeof (buffer), "%3lu %-5lu",
+ (unsigned long) b_lines, (unsigned long) b_size);
scm_puts (buffer, port);
scm_puts (">", port);
diff --git a/libmu_scm/mu_message.c b/libmu_scm/mu_message.c
index e99fb17..1793ea2 100644
--- a/libmu_scm/mu_message.c
+++ b/libmu_scm/mu_message.c
@@ -109,7 +109,8 @@ mu_scm_message_print (SCM message_smob, SCM port, scm_print_state * pstate)
message_size (mum->msg, &m_size);
message_lines (mum->msg, &m_lines);
- snprintf (buffer, sizeof (buffer), "%3ld %-5ld", m_lines, m_size);
+ snprintf (buffer, sizeof (buffer), "%3lu %-5lu",
+ (unsigned long) m_lines, (unsigned long) m_size);
scm_puts (buffer, port);
scm_puts (">", port);

Return to:

Send suggestions and report system problems to the System administrator.