X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=include%2Fstdint.h;h=540066780166d7a4435ebdebf46d97e707925409;hb=a43c3a337f4fd8a273c6fe29604f3b24d8d32760;hp=634678a2bdc8a783d10e22a4cee9ef4aecf37bc6;hpb=73f5ff4e8646a5fddbeae5070a53f05870e51dd1;p=musl diff --git a/include/stdint.h b/include/stdint.h index 634678a2..54006678 100644 --- 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 -#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 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