summaryrefslogtreecommitdiff
path: root/source/luametatex/source/tex/texprinting.c
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2022-12-07 21:44:10 +0100
committerContext Git Mirror Bot <phg@phi-gamma.net>2022-12-07 21:44:10 +0100
commitfb63eac7402fbd3bb00d7591cc4fbac1b2db2582 (patch)
treebf692e177e1d157ddf6a038407fc86539ff5048f /source/luametatex/source/tex/texprinting.c
parent265ba2a85e0945a37972e22f23bcaac16d6c08a1 (diff)
downloadcontext-fb63eac7402fbd3bb00d7591cc4fbac1b2db2582.tar.gz
2022-12-07 20:24:00
Diffstat (limited to 'source/luametatex/source/tex/texprinting.c')
-rw-r--r--source/luametatex/source/tex/texprinting.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source/luametatex/source/tex/texprinting.c b/source/luametatex/source/tex/texprinting.c
index d18445f36..6d01854b7 100644
--- a/source/luametatex/source/tex/texprinting.c
+++ b/source/luametatex/source/tex/texprinting.c
@@ -592,9 +592,9 @@ void tex_print_sparse_dimension(scaled s, int unit)
as an unsigned.
*/
-void tex_print_hex(int sn)
+void tex_print_hex(long long sn)
{
- unsigned int n = (unsigned int) sn;
+ unsigned long long n = (unsigned long long) sn;
int k = 0;
unsigned char digits[24];
do {
@@ -612,13 +612,13 @@ void tex_print_hex(int sn)
}
}
-void tex_print_qhex(int n)
+void tex_print_qhex(long long n)
{
tex_print_char('"');
tex_print_hex(n);
}
-void tex_print_uhex(int n)
+void tex_print_uhex(long long n)
{
tex_print_str("U+");
if (n < 16) {