~ubuntu-branches/ubuntu/intrepid/git-core/intrepid-security

« back to all changes in this revision

Viewing changes to tree-walk.h

  • Committer: Package Import Robot
  • Author(s): Gerrit Pape
  • Date: 2007-10-04 08:27:01 UTC
  • mfrom: (1.1.23)
  • Revision ID: package-import@ubuntu.com-20071004082701-rsd058ontoqz4i30
Tags: 1:1.5.3.4-1
new upstream point release (closes: #445188).

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
 
23
23
static inline int tree_entry_len(const char *name, const unsigned char *sha1)
24
24
{
25
 
        return (char *)sha1 - (char *)name - 1;
 
25
        return (const char *)sha1 - name - 1;
26
26
}
27
27
 
28
28
void update_tree_entry(struct tree_desc *);