Eliminate redundant explicit type conversion.

The pointers in question are already type 'int *'.  There is no need to
explicitly convert them to that type too.
This commit is contained in:
Bård Skaflestad 2013-02-01 16:25:46 +01:00
parent b8e840e81e
commit 267ec64ae8

View File

@ -88,8 +88,8 @@ tarjan (int nv, const int *ia, const int *ja, int *vert, int *comp,
int pos = 0;
int *time = work;
int *link = (int *) time + nv;
int *status = (int *) link + nv; /* dual usage... */
int *link = time + nv;
int *status = link + nv; /* dual usage... */
clear_vector(3 * ((size_t) nv), work);
clear_vector(1 * ((size_t) nv), vert);