Fix a problem when compiling with Dev-C++ - thanks to Paul Louden


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11766 a1c6a512-1295-4272-9138-f99709370657
diff --git a/tools/ipodpatcher/ipodio-win32.c b/tools/ipodpatcher/ipodio-win32.c
index 34bf8d5..5292047 100644
--- a/tools/ipodpatcher/ipodio-win32.c
+++ b/tools/ipodpatcher/ipodio-win32.c
@@ -148,7 +148,7 @@
 {
     /* The ReadFile function requires a memory buffer aligned to a multiple of
        the disk sector size. */
-    *sectorbuf = VirtualAlloc(NULL, bufsize, MEM_COMMIT, PAGE_READWRITE);
+    *sectorbuf = (unsigned char*)VirtualAlloc(NULL, bufsize, MEM_COMMIT, PAGE_READWRITE);
     if (*sectorbuf == NULL) {
         print_error(" Error allocating a buffer: ");
         return -1;