delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/06/06/20:33:39

From: Martell <crazy AT ne DOT infi DOT net>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: svga
Date: Tue, 06 Jun 2000 20:30:40 -0400
Organization: InfiNet
Lines: 15
Message-ID: <393D97B0.B3A1D3C7@ne.infi.net>
References: <393A97A6 DOT 68C0EB6 AT ne DOT infi DOT net> <393A9867 DOT 8872DAEE AT it-he DOT org> <8heat2$cho$1 AT supernews DOT com> <393C606A DOT 174FA10D AT ne DOT infi DOT net> <393D5678 DOT 9F7AA087 AT it-he DOT org>
NNTP-Posting-Host: ebtna010-0097.splitrock.net
Mime-Version: 1.0
X-Mailer: Mozilla 4.04 [en] (Win95; U)
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

im having trouble compile the following line:

if (strncmp(vesa_info.VESASignature, "VESA", 4) != 0) return -1;

i get the following error:

passing 'unsigned char *' as argument 1 of 'strncmp(const char *, const char *, long
unsigned int)' changes signedness

any suggestions?  cuz i dont know how to fix this, i copied the line of code right
from the DJGPP page on delorie.com.
thanx in advance!

-Jeremiah

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019