summaryrefslogtreecommitdiff
path: root/source/luametatex/source/tex/texprinting.c
diff options
context:
space:
mode:
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) {