Skip to content

Commit

Permalink
gcc does not like this sprintf.
Browse files Browse the repository at this point in the history
  • Loading branch information
aremmell committed Jan 7, 2024
1 parent 7856dd1 commit 5ef1ba9
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions include/bal/platform.h
Original file line number Diff line number Diff line change
Expand Up @@ -277,8 +277,9 @@ typedef unsigned bal_threadret;
# include <inttypes.h>
# include <assert.h>

# define BAL_MAXERROR 256
# define BAL_MAXERRORFMT 384
# define BAL_MAXERROR 256
# define BAL_MAXERRORDETAIL 27
# define BAL_MAXERRORFMT BAL_MAXERROR + BAL_MAXERRORDETAIL
# define BAL_UNKNOWN "<unknown>"

# define BAL_AS_IPV6 "IPv6"
Expand Down

0 comments on commit 5ef1ba9

Please sign in to comment.