aboutsummaryrefslogtreecommitdiff
path: root/lib/csapi/search.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/csapi/search.cpp')
-rw-r--r--lib/csapi/search.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/csapi/search.cpp b/lib/csapi/search.cpp
index ad54b39f..9436eb47 100644
--- a/lib/csapi/search.cpp
+++ b/lib/csapi/search.cpp
@@ -131,7 +131,7 @@ namespace QMatrixClient
{
SearchJob::ResultRoomEvents result;
result.count =
- fromJson<qint64>(jo.value("count"_ls));
+ fromJson<int>(jo.value("count"_ls));
result.highlights =
fromJson<QStringList>(jo.value("highlights"_ls));
result.results =