delorie.com/archives/browse.cgi | search |
From: | nikki AT gameboutique DOT co (nikki) |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: DJGPP structs |
Date: | 5 Mar 1997 10:38:54 GMT |
Organization: | GameBoutique Ltd. |
Lines: | 14 |
Message-ID: | <5fjifu$8fo@flex.uunet.pipex.com> |
References: | <5fiu3p$bne AT freenet-news DOT carleton DOT ca> |
NNTP-Posting-Host: | www.gameboutique.com |
Mime-Version: | 1.0 |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
> Are you sure this is non-ansi? > > mypointer=malloc(size); should be mypointer=(unsigned char *)malloc(size); assuming mypointer is an unsigned char * of course, otherwise replace it accordingly. nik -- Graham Tootell nikki AT gameboutique DOT com
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |