# HG changeset patch # User nick # Date 1003915100 0 # Node ID 6fb598bd7ede4091fe82ed77f2adeee8aae57104 # Parent c570836dd5679125e972a96a8e4d454bde02202f Suppressing warnings diff -r c570836dd567 -r 6fb598bd7ede libvo/vo_vesa.c --- a/libvo/vo_vesa.c Wed Oct 24 07:51:44 2001 +0000 +++ b/libvo/vo_vesa.c Wed Oct 24 09:18:20 2001 +0000 @@ -16,6 +16,7 @@ - refresh rate support (need additional info from mplayer) */ #include +#include #include #include #include @@ -503,7 +504,7 @@ printf("vo_vesa: Mode (%03u): mode=%04X %ux%u@%u attr=%04X\n" "vo_vesa: #planes=%u model=%u(%s) #pages=%u\n" "vo_vesa: winA=%X(attr=%u) winB=%X(attr=%u) winSize=%u winGran=%u\n" - "vo_vesa: direct_color=%u DGA_phys_addr=%08X\n" + "vo_vesa: direct_color=%u DGA_phys_addr=%08lX\n" ,i,mode_ptr[i],vmib.XResolution,vmib.YResolution,vmib.BitsPerPixel,vmib.ModeAttributes ,vmib.NumberOfPlanes,vmib.MemoryModel,model2str(vmib.MemoryModel),vmib.NumberOfImagePages ,vmib.WinASegment,vmib.WinAAttributes,vmib.WinBSegment,vmib.WinBAttributes,vmib.WinSize,vmib.WinGranularity diff -r c570836dd567 -r 6fb598bd7ede linux/vbelib.h --- a/linux/vbelib.h Wed Oct 24 07:51:44 2001 +0000 +++ b/linux/vbelib.h Wed Oct 24 09:18:20 2001 +0000 @@ -194,7 +194,7 @@ #define VBE_VESA_ERRCODE_MASK 0xff00 extern int vbeInit( void ); -extern int vbeDetroy( void ); +extern int vbeDestroy( void ); extern int vbeGetControllerInfo(struct VbeInfoBlock *); extern int vbeGetModeInfo(unsigned mode,struct VesaModeInfoBlock *);