summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Brace <kevinbrace@gmx.com>2019-07-18 15:31:14 -0700
committerKevin Brace <kevinbrace@gmx.com>2019-07-18 15:41:46 -0700
commit16fe43012005f249375e83ebf43da76d6de67cb7 (patch)
treed961449eb7ca0b99c9365e582e1ad349fb600470
parent9e42918588b65860422cb296a92ecede15db7419 (diff)
Convert text format specifier type to unsigned short
Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
-rw-r--r--src/initextx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/initextx.c b/src/initextx.c
index 1e84d0f..d6cd049 100644
--- a/src/initextx.c
+++ b/src/initextx.c
@@ -252,7 +252,7 @@ SiSBuildBuiltInModeList(ScrnInfoPtr pScrn, BOOLEAN includelcdmodes, BOOLEAN isfo
current = new;
- sprintf(current->name, "%dx%d", pSiS->SiS_Pr->SiS_RefIndex[i].XRes,
+ sprintf(current->name, "%hu%hu", pSiS->SiS_Pr->SiS_RefIndex[i].XRes,
pSiS->SiS_Pr->SiS_RefIndex[i].YRes);
current->status = MODE_OK;