mirror of
https://github.com/mdbtools/mdbtools.git
synced 2026-03-10 00:20:54 +08:00
Fix export of byte field values >127
Regression introduced in v0.9.3-beta1. Fixes #350
This commit is contained in:
@@ -1009,7 +1009,7 @@ char *mdb_col_to_string(MdbHandle *mdb, void *buf, int start, int datatype, int
|
||||
|
||||
switch (datatype) {
|
||||
case MDB_BYTE:
|
||||
text = g_strdup_printf("%hhd", mdb_get_byte(buf, start));
|
||||
text = g_strdup_printf("%hhu", mdb_get_byte(buf, start));
|
||||
break;
|
||||
case MDB_INT:
|
||||
text = g_strdup_printf("%hd",
|
||||
|
||||
Reference in New Issue
Block a user