Skip to content

Commit

Permalink
BLD: fix a conversion error (char[2] -> int)
Browse files Browse the repository at this point in the history
  • Loading branch information
neutrinoceros committed Aug 13, 2024
1 parent d4d4fd5 commit 6b62c6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ def get_extensions():
print('Configure liberfa ("configure.ac" scan)')
lines = []
for name, value in get_liberfa_versions():
lines.append(f'#define {name} "{value}"')
lines.append(f'#define {name} {value}')
with open(config_h, 'w') as fd:
fd.write('\n'.join(lines))
else:
Expand Down

0 comments on commit 6b62c6e

Please sign in to comment.