summaryrefslogtreecommitdiffstats
path: root/src/fiasco.c
diff options
context:
space:
mode:
authorPali Rohár <pali.rohar@gmail.com>2012-06-23 17:39:33 +0200
committerPali Rohár <pali.rohar@gmail.com>2012-06-23 17:39:33 +0200
commit027a6d9a18b8767969127ffc1c4a734fec4b840b (patch)
treeea5d137bb5e15e3d818032cb4ed7798de7c33026 /src/fiasco.c
parent58c0dbe2753753e2eff5e27f98453aa8a020235f (diff)
download0xFFFF-027a6d9a18b8767969127ffc1c4a734fec4b840b.tar.bz2
Fix compilation warnings
Diffstat (limited to 'src/fiasco.c')
-rw-r--r--src/fiasco.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/fiasco.c b/src/fiasco.c
index c767407..3446364 100644
--- a/src/fiasco.c
+++ b/src/fiasco.c
@@ -28,6 +28,8 @@
#include "main.h"
#include "hash.h"
+char *strdup(const char *s);
+
int (*fiasco_callback)(struct header_t *header) = NULL;
int openfiasco(const char *name, const char *piece_grep, int v)
@@ -306,7 +308,7 @@ int fiasco_new(const char *filename, const char *swver)
{
int fd;
unsigned int len;
- uint8_t len8;
+ unsigned char len8;
const char *str = "OSSO UART+USB";
if (swver && strlen(swver)+1 > UINT8_MAX) {