~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/diff-delta.c

  • Committer: Jelmer Vernooij
  • Date: 2009-09-02 15:23:35 UTC
  • mfrom: (4666 +trunk)
  • mto: This revision was merged to the branch mainline in revision 4757.
  • Revision ID: jelmer@samba.org-20090902152335-h9m8dt9p08snroln
merge bzr.dev.

Show diffs side-by-side

added added

removed removed

Lines of Context:
713
713
    prev_val = ~0;
714
714
    data = buffer;
715
715
    /* target size */
716
 
    get_delta_hdr_size(&data, top);
 
716
    /* get_delta_hdr_size doesn't mutate the content, just moves the
 
717
     * start-of-data pointer, so it is safe to do the cast.
 
718
     */
 
719
    get_delta_hdr_size((unsigned char**)&data, top);
717
720
    entry = entries; /* start at the first slot */
718
721
    num_entries = 0; /* calculate the real number of entries */
719
722
    while (data < top) {