summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorOpenGnSys Support Team <soporte-og@soleta.eu>2021-03-19 16:58:30 +0100
committerOpenGnSys Support Team <soporte-og@soleta.eu>2021-03-19 16:58:50 +0100
commitab32ed87c44d5416e216b62cdcbcf09fe62f7cbb (patch)
tree9d23be36cc92ab0ad9f5a1cff9f6161e07c9f748 /src
parentf844a1b6bcee3107fc6669479dea728b39d7b74d (diff)
#1004 update size to 64-bits
Otherwise dbi_result_get_uint returns 0.
Diffstat (limited to 'src')
-rw-r--r--src/ogAdmServer.c2
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