www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/07/20/05:28:04

From: gienek AT zsk DOT lub DOT pl (gienek)
Newsgroups: comp.os.msdos.djgpp
Subject: 16 bit buffer
Date: Sat, 20 Jul 2002 07:35:38 GMT
Organization: news.onet.pl
Lines: 11
Sender: daro_news AT poczta DOT onet DOT pl@svorat.it-net.pl
Message-ID: <3d391151.2522562@news.onet.pl>
NNTP-Posting-Host: svorat.it-net.pl
X-Trace: news.onet.pl 1027150494 29366 62.233.194.118 (20 Jul 2002 07:34:54 GMT)
X-Complaints-To: abuse AT onet DOT pl
NNTP-Posting-Date: 20 Jul 2002 07:34:54 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

Hi, I've got this tiny problem. I have something like
this:

usnigned int *buffer16;
unsigned long int *buffer32;

these pointers are equal.
Now, when I want to write a word through the
pointer buffer16 , this beast writes 32 bits.
How to make it write 16 bits not 32???
Please help, Gienek.

- Raw text -


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