Fix gcc 4.3 style warnings
Distributed under the LGPL
*/
Distributed under the LGPL
*/
#include "arb_shader_objects.h"
#include "arb_vertex_shader.h"
#include "except.h"
#include "arb_shader_objects.h"
#include "arb_vertex_shader.h"
#include "except.h"
- for(d=h; d*d>h; d>>=2);
- for(; d*d<h; ++d);
+ for(d=h; d*d>h; d>>=2) ;
+ for(; d*d<h; ++d) ;
if(d*d!=h)
throw IncompatibleData("Could not find a square root of texture height");
h=d;
if(d*d!=h)
throw IncompatibleData("Could not find a square root of texture height");
h=d;