From d40d847baffaff7ee5d8c1bb9d7936230c5cce88 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Sergi=20Hern=C3=A1ndez?= <shernand@iri.upc.edu>
Date: Sun, 10 Aug 2014 22:19:35 +0000
Subject: [PATCH] Solved a problem in the excution of single step pages. Solved
 a problem with the 64 bit data types in the firmware download tool.

---
 trunk/src/fw_downloader.cpp | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/trunk/src/fw_downloader.cpp b/trunk/src/fw_downloader.cpp
index f2d89f4..ca8a6ce 100755
--- a/trunk/src/fw_downloader.cpp
+++ b/trunk/src/fw_downloader.cpp
@@ -45,7 +45,8 @@ void show_help(char *name) {
 
 int main(int argc,char *argv[])
 {
-  unsigned int baudrate=57600,left,addr,start_addr=0x00000000,len,base,data_len;
+  unsigned int baudrate=57600,left,addr,start_addr=0x00000000,len,base;
+  size_t data_len;
   unsigned short int erase_pages=0xFFFF,device_id;
   unsigned char bootloader_ver,buffer[256];
   flash_op operation=flash_none;
-- 
GitLab