From ad8c80892b55e946e6e681f10dfe9c352bda94d7 Mon Sep 17 00:00:00 2001 From: Evan Miller Date: Sun, 7 Mar 2021 14:36:07 -0500 Subject: [PATCH] Fix compilation error --- src/libmdb/data.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libmdb/data.c b/src/libmdb/data.c index c426623..467bd49 100644 --- a/src/libmdb/data.c +++ b/src/libmdb/data.c @@ -1007,7 +1007,7 @@ char *mdb_col_to_string(MdbHandle *mdb, void *buf, int start, int datatype, int case MDB_LONGINT: case MDB_COMPLEX: text = g_strdup_printf("%d", - mdb_get_int32(buf, start)); + (int)mdb_get_int32(buf, start)); break; case MDB_FLOAT: tf = mdb_get_single(buf, start);