Skip to content

Commit

Permalink
fix missing braces in computed macro value
Browse files Browse the repository at this point in the history
Using this value in any computation might not work as expected.
  • Loading branch information
sudden6 committed Dec 5, 2021
1 parent 1b02bad commit 0320e2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion other/bootstrap_daemon/src/global.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
// than some binary format that needs to be parsed before being shown to users
// so we decided to keep this display format compatibility and adopted this
// weird scheme with a leading 1.
#define DAEMON_VERSION_NUMBER 1000000000UL + DAEMON_VERSION_MAJOR*1000000UL + DAEMON_VERSION_MINOR*1000UL + DAEMON_VERSION_PATCH*1UL
#define DAEMON_VERSION_NUMBER (1000000000UL + DAEMON_VERSION_MAJOR*1000000UL + DAEMON_VERSION_MINOR*1000UL + DAEMON_VERSION_PATCH*1UL)

#define MIN_ALLOWED_PORT 1
#define MAX_ALLOWED_PORT 65535
Expand Down

0 comments on commit 0320e2e

Please sign in to comment.