From b2904d437233248abcd6b4ad35887ec6f8ed6d24 Mon Sep 17 00:00:00 2001 From: Waldo Bastian Date: Sat, 24 Jul 1999 21:10:51 +0000 Subject: [PATCH] WABA: Fixed compile warning svn path=/trunk/kdegraphics/kdvi/; revision=26305 --- dviwin.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dviwin.cpp b/dviwin.cpp index 5a24d92c6..4481720f3 100644 --- a/dviwin.cpp +++ b/dviwin.cpp @@ -493,8 +493,8 @@ bool dviWindow::correctDVI() return FALSE; f.at( n-4 ); char test[4]; - char trailer[4] = { 0xdf,0xdf,0xdf,0xdf }; - if ( f.readBlock( test, 4 )<4 || strncmp( test, trailer, 4 ) ) + unsigned char trailer[4] = { 0xdf,0xdf,0xdf,0xdf }; + if ( f.readBlock( test, 4 )<4 || strncmp( test, (char *) trailer, 4 ) ) return FALSE; // We suppose now that the dvi file is complete and OK return TRUE;