diff --git a/Telegram/SourceFiles/export/export_controller.h b/Telegram/SourceFiles/export/export_controller.h
index 496c38c31..e9b08acdc 100644
--- a/Telegram/SourceFiles/export/export_controller.h
+++ b/Telegram/SourceFiles/export/export_controller.h
@@ -77,8 +77,8 @@ struct ProcessingState {
 	uint64 bytesRandomId = 0;
 	FileType bytesType = FileType::None;
 	QString bytesName;
-	int bytesLoaded = 0;
-	int bytesCount = 0;
+	int64 bytesLoaded = 0;
+	int64 bytesCount = 0;
 };
 
 struct ApiErrorState {
diff --git a/Telegram/lib_base b/Telegram/lib_base
index e6b728805..0d37d47ec 160000
--- a/Telegram/lib_base
+++ b/Telegram/lib_base
@@ -1 +1 @@
-Subproject commit e6b728805b07978b901aa3eb5da81d29519ed4f1
+Subproject commit 0d37d47eca896005eb0a645e0db461f4dafb317b