projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix ugly bugs in TRE regex parser
[musl]
/
include
/
stdint.h
diff --git
a/include/stdint.h
b/include/stdint.h
index
634678a
..
5400667
100644
(file)
--- a/
include/stdint.h
+++ b/
include/stdint.h
@@
-85,13
+85,13
@@
typedef unsigned long long uintmax_t;
#if !defined __cplusplus || defined __STDC_CONSTANT_MACROS
#if !defined __cplusplus || defined __STDC_CONSTANT_MACROS
-#define INT8_C(c)
((int8_t) + (c))
-#define INT16_C(c)
((int16_t) + (c))
+#define INT8_C(c)
c
+#define INT16_C(c)
c
#define INT32_C(c) c
#define INT64_C(c) c ## LL
#define INT32_C(c) c
#define INT64_C(c) c ## LL
-#define UINT8_C(c)
((uint8_t) + (c))
-#define UINT16_C(c)
((uint16_t) + (c))
+#define UINT8_C(c)
c ## U
+#define UINT16_C(c)
c ## U
#define UINT32_C(c) c ## U
#define UINT64_C(c) c ## ULL
#define UINT32_C(c) c ## U
#define UINT64_C(c) c ## ULL