home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!mcsun!news.funet.fi!hydra!klaava!wirzeniu
- From: wirzeniu@klaava.Helsinki.FI (Lars Wirzenius)
- Newsgroups: comp.os.linux
- Subject: Re: Problem with new vgalib
- Message-ID: <1992Jul31.163327.23276@klaava.Helsinki.FI>
- Date: 31 Jul 92 16:33:27 GMT
- References: <ceSB_0G00WB4Qg04AD@andrew.cmu.edu>
- Organization: University of Helsinki
- Lines: 9
-
- tn0s+@andrew.cmu.edu (Timothy L. Nali) writes:
- > unsigned short pixels[640];
- > vga_drawscanline(LINE,(char)pixels);
-
- The cast is erroneous, it should be (char *). Or perhaps the pixels
- array should have type char pixels[640].
-
- --
- Lars.Wirzenius@helsinki.fi
-