aboutsummaryrefslogtreecommitdiff
path: root/libpsn00b/psxgpu/fntsort.c
diff options
context:
space:
mode:
authorJohn Wilbert M. Villamor <lameguy64@gmail.com>2021-07-01 11:18:22 +0800
committerJohn Wilbert M. Villamor <lameguy64@gmail.com>2021-07-01 11:18:22 +0800
commitacc1a959fe3c4bc5d5e91f1f31e182ff967008ca (patch)
tree4f08247e6d5768d88202ea91af1806cbece13f55 /libpsn00b/psxgpu/fntsort.c
parent01fe30bd8bae59ab954751b08bcc1d158eff7edb (diff)
downloadpsn00bsdk-acc1a959fe3c4bc5d5e91f1f31e182ff967008ca.tar.gz
Fixed missing type errors when compiling libraries due to the new variable type changes
Diffstat (limited to 'libpsn00b/psxgpu/fntsort.c')
-rw-r--r--libpsn00b/psxgpu/fntsort.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libpsn00b/psxgpu/fntsort.c b/libpsn00b/psxgpu/fntsort.c
index 3890ebb..9358793 100644
--- a/libpsn00b/psxgpu/fntsort.c
+++ b/libpsn00b/psxgpu/fntsort.c
@@ -1,3 +1,4 @@
+#include <sys/types.h>
#include <stdio.h>
#include <ctype.h>
#include <psxgpu.h>
@@ -5,7 +6,7 @@
extern unsigned short _font_tpage;
extern unsigned short _font_clut;
-char *FntSort(unsigned int *ot, char *pri, int x, int y, const char *text) {
+char *FntSort(u_long *ot, char *pri, int x, int y, const char *text) {
DR_TPAGE *tpage;
SPRT_8 *sprt = (SPRT_8*)pri;