From 8955dedb46377f302c4eab3f5e3e28a22fcffbe2 Mon Sep 17 00:00:00 2001 From: tastytea Date: Mon, 8 Oct 2018 01:40:53 +0200 Subject: [PATCH] Fixed issue with mastodon-cpp >= 0.18.6 (uint16_t vs. uint_fast16_t) --- CMakeLists.txt | 2 +- src/mastorss.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index c184309..db88d59 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,6 +1,6 @@ cmake_minimum_required (VERSION 3.6) project (mastorss - VERSION 0.8.3 + VERSION 0.8.4 LANGUAGES CXX ) diff --git a/src/mastorss.cpp b/src/mastorss.cpp index 7b4fc47..c3d5b56 100644 --- a/src/mastorss.cpp +++ b/src/mastorss.cpp @@ -58,7 +58,7 @@ int main(int argc, char *argv[]) string access_token = ""; string feedurl = ""; profile = argv[1]; - std::uint16_t ret; + std::uint_fast16_t ret; string answer; std::vector entries;