mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00
fixed argument type for integer_to_cpuset
This commit is contained in:
parent
f3951afd18
commit
f635bf115a
2 changed files with 3 additions and 2 deletions
|
@ -11,6 +11,7 @@
|
|||
#define _UTILS_H_
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <stdint.h>
|
||||
#include <sched.h>
|
||||
#include <assert.h>
|
||||
|
||||
|
@ -121,7 +122,7 @@ int strftimespec(char *s, size_t max, const char *format, struct timespec *ts)
|
|||
* @param set A cpu bitmask
|
||||
* @return The opaque cpu_set_t datatype
|
||||
*/
|
||||
cpu_set_t integer_to_cpuset(int set);
|
||||
cpu_set_t integer_to_cpuset(uintmax_t set);
|
||||
|
||||
#ifdef WITH_JANSSON
|
||||
#include <jansson.h>
|
||||
|
|
|
@ -132,7 +132,7 @@ char * vstrcatf(char **dest, const char *fmt, va_list ap)
|
|||
return *dest;
|
||||
}
|
||||
|
||||
cpu_set_t integer_to_cpuset(int set)
|
||||
cpu_set_t integer_to_cpuset(uintmax_t set)
|
||||
{
|
||||
cpu_set_t cset;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue