From: Alan Third Date: Wed, 23 Aug 2017 20:13:22 +0000 (+0100) Subject: Use lisp type in log message (bug#28176) X-Git-Tag: emacs-26.0.90~372 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=9538ba6a0f7b906fed3bb7d10b9b98244469047b;p=emacs.git Use lisp type in log message (bug#28176) * src/nsimage.m (ns_load_image): Use make_number on index. --- 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; }