projects
/
platform
/
upstream
/
syslinux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
39a6c54
)
font: Cast away compiler warning
author
Matt Fleming
<matt.fleming@intel.com>
Tue, 3 Apr 2012 14:14:24 +0000
(15:14 +0100)
committer
Matt Fleming
<matt.fleming@intel.com>
Tue, 17 Apr 2012 09:58:35 +0000
(10:58 +0100)
font.c: In function ‘adjust_screen’:
font.c:167:30: warning: initialization makes pointer from integer without a cast
Signed-off-by: Matt Fleming <matt.fleming@intel.com>
core/font.c
patch
|
blob
|
history
diff --git
a/core/font.c
b/core/font.c
index
0eeb90f
..
6ef46c4
100644
(file)
--- a/
core/font.c
+++ b/
core/font.c
@@
-164,7
+164,7
@@
void use_font(void)
void adjust_screen(void)
{
com32sys_t ireg, oreg;
- volatile uint8_t *vidrows = BIOS_vidrows;
+ volatile uint8_t *vidrows =
(volatile uint8_t *)
BIOS_vidrows;
uint8_t rows, cols;
rows = *vidrows;