We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 08d50e5 commit 7cef9c7Copy full SHA for 7cef9c7
1 file changed
libctru/include/3ds/types.h
@@ -14,7 +14,7 @@
14
/// would be nice if newlib had this already
15
#ifndef SSIZE_MAX
16
#ifdef SIZE_MAX
17
-#define SSIZE_MAX ((SIZE_MAX) >> 1)
+#define SSIZE_MAX ((ssize_t)((SIZE_MAX) >> 1))
18
#endif
19
20
0 commit comments