1
0
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:
Ruben S. Montero 2019-07-03 16:05:35 +02:00
parent c9e66a7340
commit 865c966fd7
No known key found for this signature in database
GPG Key ID: A0CEA6FA880A1D87

View File

@ -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;