summaryrefslogtreecommitdiff
path: root/tools/gigabeats.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/gigabeats.c')
-rw-r--r--tools/gigabeats.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/gigabeats.c b/tools/gigabeats.c
index c109d6ad1c..2c5a6286af 100644
--- a/tools/gigabeats.c
+++ b/tools/gigabeats.c
@@ -93,7 +93,7 @@ int gigabeat_s_code(char *infile, char *outfile)
93 fclose(in); 93 fclose(in);
94 94
95 /* Step 2: Create the file header */ 95 /* Step 2: Create the file header */
96 sprintf(buf, "B000FF\n"); 96 sprintf((char *)buf, "B000FF\n");
97 put_uint32le(0x88200000, buf+7); 97 put_uint32le(0x88200000, buf+7);
98 /* If the value below is too small, the update will attempt to flash. 98 /* If the value below is too small, the update will attempt to flash.
99 * Be careful when changing this (leaving it as is won't cause issues) */ 99 * Be careful when changing this (leaving it as is won't cause issues) */