diff options
Diffstat (limited to 'include/BodyItem.hpp')
-rw-r--r-- | include/BodyItem.hpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/BodyItem.hpp b/include/BodyItem.hpp index 728c2b0..1d967b5 100644 --- a/include/BodyItem.hpp +++ b/include/BodyItem.hpp @@ -71,7 +71,7 @@ namespace QuickMedia { } // |new_timestamp| is in milliseconds - void set_timestamp(time_t new_timestamp) { + void set_timestamp(int64_t new_timestamp) { if(new_timestamp == timestamp) return; timestamp = new_timestamp; @@ -116,7 +116,7 @@ namespace QuickMedia { const std::string& get_description() const { return description; } const std::string& get_author() const { return author; } // In milliseconds - time_t get_timestamp() const { return timestamp; } + int64_t get_timestamp() const { return timestamp; } sf::Color get_title_color() const { return title_color; } sf::Color get_description_color() const { return description_color; } @@ -165,7 +165,7 @@ namespace QuickMedia { std::string title; std::string description; std::string author; - time_t timestamp; + int64_t timestamp; sf::Color title_color; sf::Color author_color; sf::Color description_color; |