home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / os / linux / 7121 < prev    next >
Encoding:
Internet Message Format  |  1992-07-31  |  619 b 

  1. Path: sparky!uunet!mcsun!news.funet.fi!hydra!klaava!wirzeniu
  2. From: wirzeniu@klaava.Helsinki.FI (Lars Wirzenius)
  3. Newsgroups: comp.os.linux
  4. Subject: Re: Problem with new vgalib
  5. Message-ID: <1992Jul31.163327.23276@klaava.Helsinki.FI>
  6. Date: 31 Jul 92 16:33:27 GMT
  7. References: <ceSB_0G00WB4Qg04AD@andrew.cmu.edu>
  8. Organization: University of Helsinki
  9. Lines: 9
  10.  
  11. tn0s+@andrew.cmu.edu (Timothy L. Nali) writes:
  12. >    unsigned short pixels[640];
  13. >    vga_drawscanline(LINE,(char)pixels);
  14.  
  15. The cast is erroneous, it should be (char *).  Or perhaps the pixels
  16. array should have type char pixels[640].
  17.  
  18. --
  19. Lars.Wirzenius@helsinki.fi
  20.