mirror of
https://github.com/matrix-construct/construct
synced 2024-11-25 08:12:37 +01:00
ircd::util: Fix this type; should be int.
This commit is contained in:
parent
ecf5c10547
commit
6572a45d77
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue