mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-20 10:50:08 +03:00
M #-: Fix variable sizes
This commit is contained in:
parent
c9e66a7340
commit
865c966fd7
@ -498,7 +498,7 @@ void RaftManager::leader()
|
||||
pthread_attr_init (&pattr);
|
||||
pthread_attr_setdetachstate(&pattr, PTHREAD_CREATE_DETACHED);
|
||||
|
||||
int * _index = (int *) malloc(sizeof(int));
|
||||
uint64_t * _index = (uint64_t *) malloc(sizeof(uint64_t));
|
||||
|
||||
*_index = _next_index;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user