]> git.eshelyaron.com Git - emacs.git/commitdiff
* src/pdumper.c (dump_vectorlike): Avert compiler warning.
authorPo Lu <luangruo@yahoo.com>
Sun, 26 Nov 2023 00:29:40 +0000 (08:29 +0800)
committerPo Lu <luangruo@yahoo.com>
Sun, 26 Nov 2023 00:29:40 +0000 (08:29 +0800)
src/pdumper.c

index f7a7fbc2d1bd4fdbdbcf8a24897d9df8fa190b7e..831267cdd1837b71ba13d275b291efc2df235f49 100644 (file)
@@ -3074,7 +3074,7 @@ dump_vectorlike (struct dump_context *ctx,
       break;
     }
   char msg[60];
-  snprintf (msg, sizeof msg, "pseudovector type %d", ptype);
+  snprintf (msg, sizeof msg, "pseudovector type %d", (int) ptype);
   error_unsupported_dump_object (ctx, lv, msg);
 }