nilsonengca / u8glib

Automatically exported from code.google.com/p/u8glib
Other
0 stars 0 forks source link

cast pb->buf to "char *" before adding a value #196

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
see 

    u8g_WriteSequence(u8g, dev, pb->width, pb->buf+pb->width); 

in u8g_dev_ssd1306_128x32.c
Might appear more often...

Problem occured while porting to coldfire.

Original issue reported on code.google.com by olikr...@gmail.com on 6 Sep 2013 at 8:22

GoogleCodeExporter commented 8 years ago
fixed:

u8g_dev_flipdisc_2x7.c u8g_dev_ssd1306_128x32.c u8g_dev_ssd1306_128x64.c 
u8g_dev_st7565_64128n.c u8g_dev_st7565_dogm128.c u8g_dev_st7565_lm6059.c 
u8g_dev_st7565_lm6063.c u8g_dev_st7565_nhd_c12864.c u8g_dev_uc1601_c128032.c 
u8g_dev_uc1610_dogxl160.c u8g_dev_uc1701_dogs102.c u8g_dev_uc1701_mini12864.c

Original comment by olikr...@gmail.com on 3 Oct 2013 at 6:24

GoogleCodeExporter commented 8 years ago

Original comment by olikr...@gmail.com on 3 Oct 2013 at 6:26