]> git.sur5r.net Git - cc65/blobdiff - libsrc/cbm/cbm_load.c
no TGI_ERR_NO_MEM or TGI_ERR_NO_IOCB anymore: replaced by TGI_ERR_NO_RES
[cc65] / libsrc / cbm / cbm_load.c
index d136f139f06cc39021d49a0d88ff914cf9771118..297910615abb8999d114f4c96d8abd2414167bd6 100644 (file)
@@ -2,7 +2,7 @@
  * Marc 'BlackJack' Rintsch, 06.03.2001
  *
  * unsigned int cbm_load(const char* name,
- *                       unsigned char device, 
+ *                       unsigned char device,
  *                       const unsigned char* data);
  */
 
@@ -11,8 +11,7 @@
 /* loads file "name" from given device to given address or to the load address
  * of the file if "data" is 0
  */
-unsigned int cbm_load(const char* name, unsigned char device,
-                      const char* data)
+unsigned int cbm_load(const char* name, unsigned char device, void* data)
 {
     /* LFN is set to 0 but it's not needed for loading.
      * (BASIC V2 sets it to the value of the SA for LOAD) */