diff options
author | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2007-03-30 02:51:36 +0000 |
---|---|---|
committer | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2007-03-30 02:51:36 +0000 |
commit | 97e432df4e7ffae5ae89939539172d5923a46014 (patch) | |
tree | 7890f85ba00bbd9a15488a54278ba250f41946ec /converter/pgm | |
parent | 64dd4a03dedeea0f0240951d8ec73cd519fb3900 (diff) | |
download | netpbm-mirror-97e432df4e7ffae5ae89939539172d5923a46014.tar.gz netpbm-mirror-97e432df4e7ffae5ae89939539172d5923a46014.tar.xz netpbm-mirror-97e432df4e7ffae5ae89939539172d5923a46014.zip |
Move Advanced series to 10.38
git-svn-id: http://svn.code.sf.net/p/netpbm/code/advanced@267 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'converter/pgm')
-rw-r--r-- | converter/pgm/pgmtopgm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/converter/pgm/pgmtopgm.c b/converter/pgm/pgmtopgm.c index c65e98e0..250bb4dc 100644 --- a/converter/pgm/pgmtopgm.c +++ b/converter/pgm/pgmtopgm.c @@ -19,7 +19,7 @@ main(int argc, char *argv[]) { int rows, cols; gray maxval; int row; - gray* grayrow; + gray * grayrow; pgm_init(&argc, argv); @@ -32,7 +32,7 @@ main(int argc, char *argv[]) { grayrow = pgm_allocrow(cols); - for (row = 0; row < rows; row++) { + for (row = 0; row < rows; ++row) { pgm_readpgmrow(stdin, grayrow, cols, maxval, format); pgm_writepgmrow(stdout, grayrow, cols, maxval, 0); } |