diff BUGFIX set both callback parameters
diff --git a/src/diff.c b/src/diff.c
index ce08306..a7d1c25 100644
--- a/src/diff.c
+++ b/src/diff.c
@@ -1473,7 +1473,7 @@
 
         if (diff_cb) {
             /* call callback */
-            LY_CHECK_RET(diff_cb(diff_node, NULL, cb_data));
+            LY_CHECK_RET(diff_cb(src_diff, diff_node, cb_data));
         }
 
         /* update diff parent */
@@ -1497,7 +1497,7 @@
 
         if (diff_cb) {
             /* call callback */
-            LY_CHECK_RET(diff_cb(diff_node, NULL, cb_data));
+            LY_CHECK_RET(diff_cb(src_diff, diff_node, cb_data));
         }
 
         /* update diff parent */