 
     /* Error of some kind */
 
-    lprintf(zm,LOG_ERR,"Received %s at offset: %"PRId64, chr(type), zm->current_file_pos);
+    lprintf(zm,LOG_ERR,"Received %s at offset: %lld", chr(type), zm->current_file_pos);
 
     if(zm->block_size == zm->max_block_size && zm->max_block_size > ZBLOCKLEN)
       zm->max_block_size /= 2;


    if(type == ZSKIP) {
      zm->file_skipped=TRUE;
      lprintf(zm,LOG_WARNING,"File skipped by receiver at offset: %"PRIu64, pos + sent_bytes);
      /* ZOC sends a ZRINIT after mid-file ZSKIP, so consume the ZRINIT here */
      zmodem_recv_header(zm);
      return(TRUE);

      File fileF=fileSystem->open(fpath);
      if(fileF) {
        l=fileF.size();
        lprintf(zm,LOG_WARNING,"%s already exists (%lld"" bytes)",fpath,l);
        if(l>=(int32_t)bytes) {
          lprintf(zm,LOG_WARNING,"Local file size >= remote file size (%lld"")"
            ,bytes);
          if(zm->duplicate_filename==NULL)
            break;
