diff options
author | rsc <devnull@localhost> | 2004-04-25 21:36:03 +0000 |
---|---|---|
committer | rsc <devnull@localhost> | 2004-04-25 21:36:03 +0000 |
commit | 840bb96866d382d3e4771ca8e81e1cb9aa37986c (patch) | |
tree | cf16586e3b049c26a5348e1097b274e3c715f1c8 /src/cmd/jpg/readppm.c | |
parent | ecdecae370ea13343bbfab0f9aa712c83c2fdfb0 (diff) | |
download | plan9port-840bb96866d382d3e4771ca8e81e1cb9aa37986c.tar.gz plan9port-840bb96866d382d3e4771ca8e81e1cb9aa37986c.tar.bz2 plan9port-840bb96866d382d3e4771ca8e81e1cb9aa37986c.zip |
stupid sun
Diffstat (limited to 'src/cmd/jpg/readppm.c')
-rw-r--r-- | src/cmd/jpg/readppm.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/cmd/jpg/readppm.c b/src/cmd/jpg/readppm.c index 28b7f4ea..d9b54293 100644 --- a/src/cmd/jpg/readppm.c +++ b/src/cmd/jpg/readppm.c @@ -151,12 +151,12 @@ struct Pix { }; static Pix pix[] = { - { '1', 1, Bgetdecimalbit, 1, CY, 1, nil }, /* portable bitmap */ + { '1', 1, Bgetdecimalbit, 1, CY, 1, 0 }, /* portable bitmap */ { '4', 1, Bgetbit, 1, CY, 1, Bflushbit }, /* raw portable bitmap */ - { '2', 0, Bgetint, 1, CY, 0, nil }, /* portable greymap */ - { '5', 0, Bgetc, 1, CY, 0, nil }, /* raw portable greymap */ - { '3', 0, Bgetint, 3, CRGB, 0, nil }, /* portable pixmap */ - { '6', 0, Bgetc, 3, CRGB, 0, nil }, /* raw portable pixmap */ + { '2', 0, Bgetint, 1, CY, 0, 0 }, /* portable greymap */ + { '5', 0, Bgetc, 1, CY, 0, 0 }, /* raw portable greymap */ + { '3', 0, Bgetint, 3, CRGB, 0, 0 }, /* portable pixmap */ + { '6', 0, Bgetc, 3, CRGB, 0, 0 }, /* raw portable pixmap */ { 0 }, }; |