Skip to content

Commit

Permalink
Windows|Cygwin: Dealing with ambiguous data types
Browse files Browse the repository at this point in the history
The definition of size_t depends on the platform.
  • Loading branch information
skyjake committed Sep 1, 2019
1 parent 02b9ca6 commit 662d47d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions doomsday/libs/core/include/de/core/log.h
Expand Up @@ -481,7 +481,9 @@ class DE_PUBLIC LogEntry : public Lockable, public ISerializable
void setValue(int64_t i);
void setValue(uint64_t i);
void setValue(ddouble d);
#if !defined(__CYGWIN__)
inline void setValue(size_t i) { setValue(uint64_t(i)); }
#endif
void setValue(void const *p);
void setValue(const char *s);
void setValue(const std::string &s);
Expand Down

0 comments on commit 662d47d

Please sign in to comment.