r25000: Fix some more C++ compatibility warnings.
[tprouty/samba.git] / source4 / dsdb / samdb / ldb_modules / entryUUID.c
index f5de138b52d35eaeaa683f6df69330e890bc1adf..1a16cb8321e6da6a14702ff056b8f565f86b66cc 100644 (file)
@@ -693,7 +693,7 @@ static int nsuniqueid_init(struct ldb_module *module)
 static int get_seq(struct ldb_context *ldb, void *context, 
                   struct ldb_reply *ares) 
 {
-       unsigned long long *max_seq = context;
+       unsigned long long *max_seq = (unsigned long long *)context;
        unsigned long long seq;
        if (ares->type == LDB_REPLY_ENTRY) {
                struct ldb_message_element *el = ldb_msg_find_element(ares->message, "contextCSN");