eliminated compiler warnings

This commit is contained in:
boercher
2005-10-25 22:34:07 +00:00
parent 305c5856cd
commit bba4631370
8 changed files with 12 additions and 11 deletions
+1 -1
View File
@@ -146,7 +146,7 @@ LB216_init(Driver * drvthis)
tcsetattr(fd, TCSANOW, &portset);
// Make sure the frame buffer is there...
framebuf = (unsigned char *) malloc (width * height);
framebuf = malloc (width * height);
if (framebuf == NULL) {
report(RPT_ERR, "lb216_init: unable to create framebuffer.\n");
return -1;