summaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorMatthias Vogelgesang <matthias.vogelgesang@kit.edu>2016-01-29 14:38:22 +0100
committerMatthias Vogelgesang <matthias.vogelgesang@kit.edu>2016-01-29 14:38:22 +0100
commitb9cd688c943fa026eb31026c866ad7c6bfe0f1c5 (patch)
tree696f7af820577d403c90c7dc1ad08f0b822f4d6a /plugins
parent3253df026a73e6b41a12af3f69adedc090019891 (diff)
downloadlibuca-b9cd688c943fa026eb31026c866ad7c6bfe0f1c5.tar.gz
libuca-b9cd688c943fa026eb31026c866ad7c6bfe0f1c5.tar.bz2
libuca-b9cd688c943fa026eb31026c866ad7c6bfe0f1c5.tar.xz
libuca-b9cd688c943fa026eb31026c866ad7c6bfe0f1c5.zip
file: fix TIFF metadata read
Diffstat (limited to 'plugins')
-rw-r--r--plugins/file/uca-file-camera.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/file/uca-file-camera.c b/plugins/file/uca-file-camera.c
index 3552327..7bb3cb0 100644
--- a/plugins/file/uca-file-camera.c
+++ b/plugins/file/uca-file-camera.c
@@ -78,7 +78,7 @@ static gboolean
read_tiff_data (UcaFileCameraPrivate *priv, const gchar *fname, gpointer buffer)
{
TIFF *file;
- guint bitdepth;
+ guint16 bitdepth;
guint width;
guint height;
tsize_t result;