From 9538ba6a0f7b906fed3bb7d10b9b98244469047b Mon Sep 17 00:00:00 2001 From: Alan Third Date: Wed, 23 Aug 2017 21:13:22 +0100 Subject: [PATCH] Use lisp type in log message (bug#28176) * src/nsimage.m (ns_load_image): Use make_number on index. --- src/nsimage.m | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/nsimage.m b/src/nsimage.m index 3c81dea67a9..ea2f1ec54ac 100644 --- a/src/nsimage.m +++ b/src/nsimage.m @@ -108,7 +108,8 @@ ns_load_image (struct frame *f, struct image *img, if (![eImg setFrame: index]) { - add_to_log ("Unable to set index %d for image %s", index, img->spec); + add_to_log ("Unable to set index %d for image %s", + make_number (index), img->spec); return 0; } -- 2.39.2