Skip to content

Commit 17b6ce7

Browse files
Add parenthesis around XBADFD.
1 parent 0a02f5e commit 17b6ce7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

wolfssl/wolfcrypt/wc_port.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1010,7 +1010,7 @@ WOLFSSL_ABI WOLFSSL_API int wolfCrypt_Cleanup(void);
10101010
#define XSEEK_SET FS_SEEK_SET
10111011
#define XSEEK_END FS_SEEK_END
10121012
#define XBADFILE NULL
1013-
#define XBADFD -1
1013+
#define XBADFD (-1)
10141014
#define XFGETS(b,s,f) -2 /* Not ported yet */
10151015

10161016
#define XSTAT fs_stat
@@ -1120,7 +1120,7 @@ WOLFSSL_ABI WOLFSSL_API int wolfCrypt_Cleanup(void);
11201120
#define XSEEK_SET SEEK_SET
11211121
#define XSEEK_END SEEK_END
11221122
#define XBADFILE NULL
1123-
#define XBADFD -1
1123+
#define XBADFD (-1)
11241124
#define XFGETS fgets
11251125
#define XFPRINTF fprintf
11261126
#define XFFLUSH fflush

0 commit comments

Comments
 (0)