diff options
Diffstat (limited to 'dpi/downloads.cc')
-rw-r--r-- | dpi/downloads.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dpi/downloads.cc b/dpi/downloads.cc index 5aa7a87c..69750320 100644 --- a/dpi/downloads.cc +++ b/dpi/downloads.cc @@ -593,7 +593,7 @@ void DLItem::update_size(int new_sz) static void read_log_cb(int fd_in, void *data) { DLItem *dl_item = (DLItem *)data; - int BufLen = 4096; + const int BufLen = 4096; char Buf[BufLen]; ssize_t st; int ret = -1; |