0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-06-28 06:48:20 +02:00

ircd::util: Fix this type; should be int.

This commit is contained in:
Jason Volk 2017-11-01 15:52:41 -07:00
parent ecf5c10547
commit 6572a45d77

View file

@ -859,7 +859,7 @@ struct values
// Error-checking closure for POSIX system calls. Note the usage is
// syscall(read, foo, bar, baz) not a macro like syscall(read(foo, bar, baz));
//
template<long ERROR_CODE = -1,
template<int ERROR_CODE = -1,
class function,
class... args>
auto
@ -882,7 +882,7 @@ syscall(function&& f,
// Error-checking closure for POSIX system calls. Note the usage is
// syscall(read, foo, bar, baz) not a macro like syscall(read(foo, bar, baz));
//
template<long ERROR_CODE = -1,
template<int ERROR_CODE = -1,
class function,
class... args>
auto