diff --git a/session.go b/session.go
index 6176ae6382071d2ef8af329d7d3465afb8aa1076..d4d2db09db34b2e8f0d279e4149bf3a105aba307 100644
--- a/session.go
+++ b/session.go
@@ -24,7 +24,7 @@ type (
 		//Config_dir                   string `json:"config-dir"`
 		//Dht_enabled                  bool   `json:"dht-enabled"`
 		DownloadDir          string `json:"download-dir"`
-		DownloadDirFreeSpace uint64 `json:"download-dir-free-space"`
+		DownloadDirFreeSpace int64 `json:"download-dir-free-space"`
 		DownloadQueueEnabled bool   `json:"download-queue-enabled"`
 		DownloadQueueSize    int    `json:"download-queue-size"`
 		//Encryption                 string `json:"encryption"`