summaryrefslogtreecommitdiffstats
path: root/src/core.h
diff options
context:
space:
mode:
authortiptorrent development team <tiptorrent@soleta.eu>2021-09-27 11:41:44 +0200
committertiptorrent development team <tiptorrent@soleta.eu>2021-09-29 15:49:23 +0200
commita82dc99a86d91fe1b0f950d343482eaf30acb269 (patch)
tree38eaa97053103b5976ae9323930e4511eed36045 /src/core.h
parent6010fe62fda49ffb6a3fa7038b0c2feb61767263 (diff)
use int32_t for chunk index
cli->chunk = -1 shortcircuits the runtime file split in chunk
Diffstat (limited to 'src/core.h')
-rw-r--r--src/core.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core.h b/src/core.h
index 67c9af7..a8d8736 100644
--- a/src/core.h
+++ b/src/core.h
@@ -49,7 +49,7 @@ struct tip_client {
const char *uri;
const char *path;
bool checksum;
- uint32_t chunk;
+ int32_t chunk;
off_t size;
off_t left;
int fd;