texlive[74949] Build/source/texk/ps2pk/fontstruct.h: Fix a few

commits+ascherer at tug.org commits+ascherer at tug.org
Tue Apr 15 19:12:31 CEST 2025


Revision: 74949
          https://tug.org/svn/texlive?view=revision&revision=74949
Author:   ascherer
Date:     2025-04-15 19:12:31 +0200 (Tue, 15 Apr 2025)
Log Message:
-----------
Fix a few parameter types.

$ CC=gcc-14 TL_CFLAGS='--std=gnu23' ./Build --disable-all-pkgs --enable-ps2pk
runs to completion (although I suspect that TL_CFLAGS never gets picked up.)

Modified Paths:
--------------
    trunk/Build/source/texk/ps2pk/fontstruct.h

Modified: trunk/Build/source/texk/ps2pk/fontstruct.h
===================================================================
--- trunk/Build/source/texk/ps2pk/fontstruct.h	2025-04-14 23:42:22 UTC (rev 74948)
+++ trunk/Build/source/texk/ps2pk/fontstruct.h	2025-04-15 17:12:31 UTC (rev 74949)
@@ -119,12 +119,9 @@
     char        scan;
     fsBitmapFormat format;
     int         (*get_glyphs) ( /* font, count, chars, encoding, count, glyphs */
-/* The integer types are incompatible with the uint32_t and similar used
-    in the calls. I guess have to insert explicit casts? Not done.
-    --karl, 8apr25.  */
-                               struct _Font *pFont, unsigned long count,
-                               unsigned char *chars, int charEncoding,
-                               unsigned *glyphCount,
+                               struct _Font *pFont, uint32_t count,
+                               unsigned char *chars, FontEncoding charEncoding,
+                               uint32_t *glyphCount,
                                struct _CharInfo **glyphs );
     int         (*get_metrics) ( /* font, count, chars, encoding, count, glyphs */ );
     int         (*get_bitmaps) (/* client, font, flags, ranges, nranges,



More information about the tex-live-commits mailing list.