From 8ece92388b526670c7410f305375242407a6ffdf Mon Sep 17 00:00:00 2001
From: deuce <>
Date: Sat, 22 Aug 2015 06:30:15 +0000
Subject: [PATCH] Fix warning.

---
 src/sbbs3/smbutil.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/sbbs3/smbutil.c b/src/sbbs3/smbutil.c
index bd2cdc14b1..1dda0a3d0d 100644
--- a/src/sbbs3/smbutil.c
+++ b/src/sbbs3/smbutil.c
@@ -678,7 +678,7 @@ void maint(void)
 	if((idx=(idxrec_t *)malloc(sizeof(idxrec_t)*smb.status.total_msgs))
 		==NULL) {
 		smb_unlocksmbhdr(&smb);
-		fprintf(errfp,"\n%s!Error allocating %u bytes of memory\n"
+		fprintf(errfp,"\n%s!Error allocating %" XP_PRIsize_t "u bytes of memory\n"
 			,beep,sizeof(idxrec_t)*smb.status.total_msgs);
 		return; 
 	}
-- 
GitLab