eliminated compiler warnings
This commit is contained in:
1 parent
305c5856cd
commit
bba4631370
8 files changed
+12
-11
No files matched your search
@@ -78,7 +78,7 @@ text_init (Driver *drvthis)
|
||||
}
|
||||
|
||||
// Allocate the framebuffer
|
||||
framebuf = (unsigned char *) malloc (width * height);
|
||||
framebuf = malloc (width * height);
|
||||
memset (framebuf, ' ', width * height);
|
||||
|
||||
return 0;
|
||||
|
||||
Reference in new issue
Block a user