summaryrefslogtreecommitdiff
path: root/src/doprnt.c
diff options
context:
space:
mode:
authorLars Magne Ingebrigtsen <larsi@gnus.org>2010-09-23 21:53:46 +0200
committerLars Magne Ingebrigtsen <larsi@gnus.org>2010-09-23 21:53:46 +0200
commit84c9ce0579c1f16670d15c486dc3ceeb3c103af1 (patch)
treef6e594974b92d159036fd6cc0d12e20b5f82feb2 /src/doprnt.c
parentfe3537c3a91491253a87f4d43540344d040c34e7 (diff)
downloademacs-84c9ce0579c1f16670d15c486dc3ceeb3c103af1.tar.gz
Clean up EMACS_INT/int usage in doc.c and doprnt.c.
Diffstat (limited to 'src/doprnt.c')
-rw-r--r--src/doprnt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/doprnt.c b/src/doprnt.c
index 053fa183e6b..02adc51f1e5 100644
--- a/src/doprnt.c
+++ b/src/doprnt.c
@@ -54,7 +54,7 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
String arguments are passed as C strings.
Integers are passed as C integers. */
-int
+EMACS_INT
doprnt (char *buffer, register int bufsize, const char *format,
const char *format_end, va_list ap)
{
@@ -96,7 +96,7 @@ doprnt (char *buffer, register int bufsize, const char *format,
if (*fmt == '%') /* Check for a '%' character */
{
unsigned size_bound = 0;
- int width; /* Columns occupied by STRING. */
+ EMACS_INT width; /* Columns occupied by STRING. */
fmt++;
/* Copy this one %-spec into fmtcpy. */