diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-02-20 21:19:59 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-02-20 21:19:59 +0300 |
commit | a9f6959a96395edc64ff57bf5ba1d75cca8e86c3 (patch) | |
tree | f6975bea7e87380ee7d063ccfb2efbc835341c91 /src/net/download.h | |
parent | 3e8fecc9a62afff0054fa0fa23af86c8ef15a1c9 (diff) | |
download | manaplus-a9f6959a96395edc64ff57bf5ba1d75cca8e86c3.tar.gz manaplus-a9f6959a96395edc64ff57bf5ba1d75cca8e86c3.tar.bz2 manaplus-a9f6959a96395edc64ff57bf5ba1d75cca8e86c3.tar.xz manaplus-a9f6959a96395edc64ff57bf5ba1d75cca8e86c3.zip |
Add missing const in net directory.
Diffstat (limited to 'src/net/download.h')
-rw-r--r-- | src/net/download.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/net/download.h b/src/net/download.h index 706e73be2..9ffd76cea 100644 --- a/src/net/download.h +++ b/src/net/download.h @@ -30,9 +30,9 @@ #include "localconsts.h" typedef int (*DownloadUpdate)(void *ptr, - DownloadStatusT status, + const DownloadStatusT status, size_t total, - size_t remaining); + const size_t remaining); // Matches what CURL expects typedef size_t (*WriteFunction)( void *ptr, size_t size, size_t nmemb, |