From d59c1fae31767eab96519c0a70cf112f0179dd1f Mon Sep 17 00:00:00 2001 From: UENISHI Kota Date: Tue, 27 Oct 2015 13:27:20 +0900 Subject: [PATCH] Fix dialyzer issue --- src/machi_file_proxy.erl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/machi_file_proxy.erl b/src/machi_file_proxy.erl index c293777..a69dda1 100644 --- a/src/machi_file_proxy.erl +++ b/src/machi_file_proxy.erl @@ -86,8 +86,8 @@ csum_path :: string()|undefined, data_filehandle :: file:io_device(), csum_table :: machi_csum_table:table(), - eof_position = 0 :: machi_dt:chunk_pos(), - max_file_size = ?DEFAULT_MAX_FILE_SIZE :: machi_dt:chunk_pos(), + eof_position = 0 :: non_neg_integer(), + max_file_size = ?DEFAULT_MAX_FILE_SIZE :: pos_integer(), tref :: reference(), %% timer ref ticks = 0 :: non_neg_integer(), %% ticks elapsed with no new operations ops = 0 :: non_neg_integer(), %% sum of all ops