~ubuntu-branches/ubuntu/precise/graphviz/precise-security

« back to all changes in this revision

Viewing changes to lib/twopigen/circle.h

  • Committer: Bazaar Package Importer
  • Author(s): David Claughton
  • Date: 2010-03-24 22:45:18 UTC
  • mfrom: (1.2.7 upstream) (6.1.7 sid)
  • Revision ID: james.westby@ubuntu.com-20100324224518-do441tthbqjaqjzd
Tags: 2.26.3-4
Add patch to fix segfault in circo. Backported from upstream snapshot
release.  Thanks to Francis Russell for his work on this.
(Closes: #575255)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* $Id: circle.h,v 1.2 2005/07/29 22:59:35 erg Exp $ $Revision: 1.2 $ */
 
1
/* $Id: circle.h,v 1.5 2009/06/03 01:10:55 ellson Exp $ $Revision: 1.5 $ */
2
2
/* vim:set shiftwidth=4 ts=8: */
3
3
 
4
4
/**********************************************************
33
33
        double theta;
34
34
    } rdata;
35
35
 
36
 
#define RDATA(n) ((rdata*)((n)->u.alg))
 
36
#define RDATA(n) ((rdata*)(ND_alg(n)))
37
37
#define SLEAF(n) (RDATA(n)->nStepsToLeaf)
38
38
#define STSIZE(n) (RDATA(n)->subtreeSize)
39
39
#define NCHILD(n) (RDATA(n)->nChildren)