something in my typecasting I think is doing it ...
void solveRoots (int a, int b, int c, double * root1, double * root2) {
if ((double)(pow(b,2) - (4 * a * c)) < 0)
root1 = root2 = -1.0; // Line 33
else {
root1 = (double)((-b + sqrt((pow(b,2) - (4 * a * c)))) / 2 * a)...