pobrn / mktorrent

A simple command line utility to create BitTorrent metainfo files
Other
472 stars 73 forks source link

Fix signedness issue #40

Closed uno20001 closed 4 years ago

uno20001 commented 4 years ago

This pull request changes the type of struct metafile.threads to long from unsigned int to handle possible negative values returned by sysconf(3). Furthermore, -Wextra and -Wpedantic have been added to the makefiles to catch such issues in the future.