summaryrefslogtreecommitdiff
path: root/uisimulator
diff options
context:
space:
mode:
Diffstat (limited to 'uisimulator')
-rw-r--r--uisimulator/common/lcd-common.c2
-rw-r--r--uisimulator/common/lcd-playersim.c2
-rw-r--r--uisimulator/win32/timefuncs.h4
-rw-r--r--uisimulator/x11/timefuncs.h4
4 files changed, 6 insertions, 6 deletions
diff --git a/uisimulator/common/lcd-common.c b/uisimulator/common/lcd-common.c
index f00e9a28b2..c69ef06f1f 100644
--- a/uisimulator/common/lcd-common.c
+++ b/uisimulator/common/lcd-common.c
@@ -30,7 +30,7 @@
30 #include "lcd-x11.h" 30 #include "lcd-x11.h"
31#endif 31#endif
32 32
33void lcd_blit(unsigned char* p_data, int x, int y, int width, int height, 33void lcd_blit(const unsigned char* p_data, int x, int y, int width, int height,
34 int stride) 34 int stride)
35{ 35{
36 (void)p_data; 36 (void)p_data;
diff --git a/uisimulator/common/lcd-playersim.c b/uisimulator/common/lcd-playersim.c
index ed633b849f..3f3453b9a1 100644
--- a/uisimulator/common/lcd-playersim.c
+++ b/uisimulator/common/lcd-playersim.c
@@ -222,7 +222,7 @@ void lcd_double_height(bool on)
222 lcd_update(); 222 lcd_update();
223} 223}
224 224
225void lcd_define_hw_pattern(int which, char *pattern, int length) 225void lcd_define_hw_pattern(int which, const char *pattern, int length)
226{ 226{
227 int i, j; 227 int i, j;
228 int pat = which / 8; 228 int pat = which / 8;
diff --git a/uisimulator/win32/timefuncs.h b/uisimulator/win32/timefuncs.h
index 57bb3de5ce..8fbc5b1c85 100644
--- a/uisimulator/win32/timefuncs.h
+++ b/uisimulator/win32/timefuncs.h
@@ -4,5 +4,5 @@
4 4
5/* struct tm defined */ 5/* struct tm defined */
6struct tm *get_time(void); 6struct tm *get_time(void);
7int set_time(struct tm *tm); 7int set_time(const struct tm *tm);
8bool valid_time(struct tm *tm); 8bool valid_time(const struct tm *tm);
diff --git a/uisimulator/x11/timefuncs.h b/uisimulator/x11/timefuncs.h
index 59e8b249eb..de17fcdc73 100644
--- a/uisimulator/x11/timefuncs.h
+++ b/uisimulator/x11/timefuncs.h
@@ -3,5 +3,5 @@
3 3
4/* struct tm defined */ 4/* struct tm defined */
5struct tm *get_time(void); 5struct tm *get_time(void);
6int set_time(struct tm *tm); 6int set_time(const struct tm *tm);
7bool valid_time(struct tm *tm); 7bool valid_time(const struct tm *tm);