about summary refs log tree commit diff
path: root/converter/other/tifftopnm.c
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2009-03-27 02:39:38 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2009-03-27 02:39:38 +0000
commit058e69cba4686a7aa36f3fbaf67d82df0e067386 (patch)
tree7097b677f31e8be841219e56c38f6d9aec56706b /converter/other/tifftopnm.c
parent3a943806c36f707ccd11432dccb3ddc3f397cf7b (diff)
downloadnetpbm-mirror-058e69cba4686a7aa36f3fbaf67d82df0e067386.tar.gz
netpbm-mirror-058e69cba4686a7aa36f3fbaf67d82df0e067386.tar.xz
netpbm-mirror-058e69cba4686a7aa36f3fbaf67d82df0e067386.zip
fix orientation problem on big-endian machines
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@864 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'converter/other/tifftopnm.c')
-rw-r--r--converter/other/tifftopnm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/converter/other/tifftopnm.c b/converter/other/tifftopnm.c
index d319e2e3..fe0de2d7 100644
--- a/converter/other/tifftopnm.c
+++ b/converter/other/tifftopnm.c
@@ -236,7 +236,7 @@ getTiffDimensions(TIFF *         const tiffP,
     int ok;
 
     unsigned int width, length;
-    unsigned int tiffOrientation;
+    unsigned short tiffOrientation;
     unsigned short orientation;
     int present;