summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamyan Ivanov <dmn@debian.org>2017-12-02 14:49:11 +0000
committerDamyan Ivanov <dmn@debian.org>2017-12-02 14:49:11 +0000
commit3d6e995eb8595d2d0fe1aea338d35e584f3829cd (patch)
tree50655c9d4c98e90884e6c1dcd3981265fac6deac
parentf90f18ea694e437fa9f1173164853d649254457b (diff)
blob_type needs to be signed to be assigned/compared to -1
-rw-r--r--dbdimp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dbdimp.c b/dbdimp.c
index e7b9df1..9872552 100644
--- a/dbdimp.c
+++ b/dbdimp.c
@@ -1676,7 +1676,7 @@ AV *dbd_st_fetch(SV *sth, imp_sth_t *imp_sth)
};
long max_segment = -1L, total_length = -1L, t;
unsigned short seg_length;
- unsigned short blob_type = -1;
+ short blob_type = -1;
/* Open the Blob according to the Blob id. */
isc_open_blob2(status, &(imp_dbh->db), &(imp_dbh->tr),