Web lists-archives.com

[MPlayer-dev-eng] [PATCH] Fix build failure in sub/font_load.c




Hi,

The latest trunk, r37696, fails to build:

sub/font_load.c: In function 'load_raw':
sub/font_load.c:48:34: error: 'uint64_t' undeclared (first use in this
function) if (raw->w > INT_MAX / 4 || (uint64_t)raw->w * raw->h >
INT_MAX / 4)

I added #include <stdint.h> to that file to fix it. Patch attached.

- Lauri
Index: sub/font_load.c
===================================================================
--- sub/font_load.c	(revision 37696)
+++ sub/font_load.c	(working copy)
@@ -19,6 +19,7 @@
 #include "config.h"
 
 #include <stdio.h>
+#include <stdint.h>
 #include <stdlib.h>
 #include <string.h>
 #include <strings.h>
_______________________________________________
MPlayer-dev-eng mailing list
MPlayer-dev-eng@xxxxxxxxxxxx
https://lists.mplayerhq.hu/mailman/listinfo/mplayer-dev-eng