forked from bartvdbraak/blender
GCC 3.4 compile fixes from bug #1277
This commit is contained in:
parent
9b857ffb87
commit
6ce57a706f
@ -296,11 +296,11 @@ std::ostream& operator<<(std::ostream &s, const Vector<T> &A)
|
||||
{
|
||||
Subscript N=A.dim();
|
||||
|
||||
s << N << endl;
|
||||
s << N << std::endl;
|
||||
|
||||
for (Subscript i=0; i<N; i++)
|
||||
s << A[i] << " " << endl;
|
||||
s << endl;
|
||||
s << A[i] << " " << std::endl;
|
||||
s << std::endl;
|
||||
|
||||
return s;
|
||||
}
|
||||
|
@ -1192,8 +1192,8 @@ static int iv_finddata(struct IvNode *iv, char *field, int fieldnr)
|
||||
/* atof doesn't stop after the first float
|
||||
* in a long string at Windows... so we copy
|
||||
* the float to a new string then atof... */
|
||||
|
||||
i= (long)(strpbrk(cpa, ", \n")-cpa);
|
||||
char *cpa_temp = strpbrk(cpa, ", \n");
|
||||
i = cpa_temp - cpa;
|
||||
|
||||
if (i>63) *fp= 0.0;
|
||||
else {
|
||||
|
Loading…
Reference in New Issue
Block a user