| delorie.com/archives/browse.cgi | search |
| From: | "Xee'Gh" <pekkaka AT dlc DOT fi> |
| Newsgroups: | comp.os.msdos.djgpp |
| Subject: | Please help me!. |
| Date: | 2 Aug 1998 17:10:50 GMT |
| Organization: | Scifi Communications International, http://www.sci.fi/, helpdesk AT sci DOT fi, +358 3 2899111 |
| Lines: | 23 |
| Message-ID: | <01bdbe38$791c8480$696cc5c3@default> |
| NNTP-Posting-Host: | cdv.kdyn.saunalahti.fi |
| To: | djgpp AT delorie DOT com |
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Heelp !
Can you fix the memcpy error ''passing arg 1 of memcpy makes pointer from
integer without a cast'' ??
for (j=0; j < firstPage; j++)
{
setPage(j);
memcpy(video, (const void *)buffer, 65536); *HERE*
buffer += 65536;
}
if (LastPage !=0)
{
setPage(j);
memcpy(video, (const void *)buffer, LastPage); *HERE* }
return(0);
--
He really needs help.
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |