diff options
author | OpenGnSys Support Team <soporte-og@soleta.eu> | 2021-03-19 16:58:30 +0100 |
---|---|---|
committer | OpenGnSys Support Team <soporte-og@soleta.eu> | 2021-03-19 16:58:50 +0100 |
commit | ab32ed87c44d5416e216b62cdcbcf09fe62f7cbb (patch) | |
tree | 9d23be36cc92ab0ad9f5a1cff9f6161e07c9f748 | |
parent | f844a1b6bcee3107fc6669479dea728b39d7b74d (diff) |
#1004 update size to 64-bits
Otherwise dbi_result_get_uint returns 0.
-rw-r--r-- | src/ogAdmServer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ogAdmServer.c b/src/ogAdmServer.c index 0500496..9da249e 100644 --- a/src/ogAdmServer.c +++ b/src/ogAdmServer.c @@ -147,7 +147,7 @@ bool actualizaConfiguracion(struct og_dbi *dbi, char *cfg, int ido) } else { // Existe el registro swu = true; // Se supone que algún dato ha cambiado - dato = dbi_result_get_uint(result, "tamano"); + dato = dbi_result_get_longlong(result, "tamano"); if (atoi(tam) == dato) {// Parámetro tamaño igual al almacenado dato = dbi_result_get_uint(result, "idsistemafichero"); if (idsfi == dato) {// Parámetro sistema de fichero igual al almacenado |