Code cleanups

on behalf of Lebedev, see issue 1279
This commit is contained in:
Oliver Duis
2012-03-16 15:22:27 +01:00
parent d520543462
commit 2a507c8615
9 changed files with 62 additions and 62 deletions

View File

@@ -96,7 +96,7 @@ void _KLTPrintSubFloatImage(
void _KLTWriteFloatImageToPGM(
_KLT_FloatImage img,
char *filename)
const char *filename)
{
int npixs = img->ncols * img->nrows;
float mmax = -999999.9f, mmin = 999999.9f;
@@ -137,7 +137,7 @@ void _KLTWriteFloatImageToPGM(
void _KLTWriteAbsFloatImageToPGM(
_KLT_FloatImage img,
char *filename,float scale)
const char *filename,float scale)
{
int npixs = img->ncols * img->nrows;
float fact;