diff options
Diffstat (limited to 'apps')
| -rw-r--r-- | apps/plugin.h | 3 | ||||
| -rw-r--r-- | apps/xracer/util.c | 1 |
2 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugin.h b/apps/plugin.h index e9c790c..4eb7066 100644 --- a/apps/plugin.h +++ b/apps/plugin.h @@ -2,6 +2,7 @@ #define _PLUGIN_H_ #include <stddef.h> +#include <stdint.h> #include <stdlib.h> #include <stdio.h> #include "gfx.h" @@ -41,7 +42,7 @@ struct plugin_api { void (*lcd_set_background)(unsigned foreground); unsigned (*lcd_get_background)(void); - void (*srand)(unsigned int seed); + void (*srand)(uint64_t seed); unsigned int (*rand)(void); void (*lcd_filltriangle)(int, int, int, int, int, int); diff --git a/apps/xracer/util.c b/apps/xracer/util.c index 8f09d67..7403c33 100644 --- a/apps/xracer/util.c +++ b/apps/xracer/util.c @@ -88,7 +88,6 @@ int camera_calc_depth(int fov) } void error_real(const char *msg, ...) { - char buf[256]; LOGF("ERROR: %s!", msg); } |