diff options
Diffstat (limited to 'src/lib/eina_graph.c')
-rw-r--r-- | src/lib/eina_graph.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/eina_graph.c b/src/lib/eina_graph.c index 9e6569b..ac42012 100644 --- a/src/lib/eina_graph.c +++ b/src/lib/eina_graph.c @@ -38,7 +38,7 @@ eina_graph_new(unsigned int v, unsigned int step) { _Eina_Graph *_g; - _g = calloc(1, sizeof(_Eina_Graph) + (v * sizeof(Eina_Graph_Adjacents))); + _g = calloc(1, sizeof(_Eina_Graph) + (v * sizeof(_Eina_Graph_Adjacents))); if (!_g) { ERR("calloc failed : %s", strerror(errno)); @@ -47,7 +47,7 @@ eina_graph_new(unsigned int v, unsigned int step) _g->step = step; _g->vertices = v; - _g->adjs = (Eina_Graph_Adjacents *) ((char *) _g + sizeof(_Eina_Graph)); + _g->adjs = (_Eina_Graph_Adjacents *) ((char *) _g + sizeof(_Eina_Graph)); return (Eina_Graph *) _g; } |