Index: src/deltacmd.c ================================================================== --- src/deltacmd.c +++ src/deltacmd.c @@ -29,16 +29,16 @@ const char *zOrig, *zTarg; int lenOrig, lenTarg; int len; char *zRes; blob_zero(pDelta); - zOrig = blob_buffer(pOriginal); + zOrig = blob_materialize(pOriginal); lenOrig = blob_size(pOriginal); - zTarg = blob_buffer(pTarget); + zTarg = blob_materialize(pTarget); lenTarg = blob_size(pTarget); blob_resize(pDelta, lenTarg+16); - zRes = blob_buffer(pDelta); + zRes = blob_materialize(pDelta); len = delta_create(zOrig, lenOrig, zTarg, lenTarg, zRes); blob_resize(pDelta, len); return 0; }