delorie.com/archives/browse.cgi | search |
From: | gienek AT zsk DOT lub DOT pl (gienek) |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: 16 bit buffer |
Date: | Sat, 20 Jul 2002 09:40:54 GMT |
Organization: | news.onet.pl |
Lines: | 12 |
Sender: | daro_news AT poczta DOT onet DOT pl@svorat.it-net.pl |
Message-ID: | <3d393001.10379275@news.onet.pl> |
References: | <3d391151 DOT 2522562 AT news DOT onet DOT pl> <3D392BF0 DOT BC4558B8 AT phekda DOT freeserve DOT co DOT uk> |
NNTP-Posting-Host: | svorat.it-net.pl |
X-Trace: | news.onet.pl 1027158010 9940 62.233.194.118 (20 Jul 2002 09:40:10 GMT) |
X-Complaints-To: | abuse AT onet DOT pl |
NNTP-Posting-Date: | 20 Jul 2002 09:40:10 GMT |
X-Newsreader: | Forte Free Agent 1.21/32.243 |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
>I believe DJGPP has the ILP32 convention - integers, longs and pointers are 32 >bits wide. A short is 16 bits wide for DJGPP. So you need to declare >'buffer16' as 'unsigned short *'. > >HTH, regards, > >-- >Richard Dawe [ http://www.phekda.freeserve.co.uk/richdawe/ ] Yes, now it's ok, thanks very much!!! Regards,Gienek.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |