summaryrefslogtreecommitdiff
path: root/src/bson/bson.c
diff options
context:
space:
mode:
authorAnton Adamansky <adamansky@gmail.com>2015-04-15 13:05:05 +0600
committerAnton Adamansky <adamansky@gmail.com>2015-04-15 13:05:05 +0600
commit1ecd99b6f307a28a1ba55eeaf6c065c64ce297a7 (patch)
treed53d5cd7152847d6029f315e63004b3e6a03ae5b /src/bson/bson.c
parent52c5a3e0c0704672ffad79f7a1bada33c9b7e642 (diff)
parent0eb32397acdb64c88f91af0b7274b9ff24aa92b2 (diff)
downloadejdb-1ecd99b6f307a28a1ba55eeaf6c065c64ce297a7.tar.gz
ejdb-1ecd99b6f307a28a1ba55eeaf6c065c64ce297a7.tar.bz2
ejdb-1ecd99b6f307a28a1ba55eeaf6c065c64ce297a7.zip
Merge branch 'achoy-issue127'
Diffstat (limited to 'src/bson/bson.c')
-rw-r--r--src/bson/bson.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bson/bson.c b/src/bson/bson.c
index 6c5d151..9fdf48a 100644
--- a/src/bson/bson.c
+++ b/src/bson/bson.c
@@ -2037,7 +2037,7 @@ int bson_compare_string(const char *cv, const void *bsdata, const char *fpath) {
return res;
}
-int bson_compare_long(long cv, const void *bsdata, const char *fpath) {
+int bson_compare_long(const int64_t cv, const void *bsdata, const char *fpath) {
bson *bs1 = bson_create();
bson_init(bs1);
bson_append_long(bs1, "$", cv);