summaryrefslogtreecommitdiff
path: root/tools/tiffgt.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/tiffgt.c')
-rw-r--r--tools/tiffgt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/tiffgt.c b/tools/tiffgt.c
index 96c692b2..bd7f45af 100644
--- a/tools/tiffgt.c
+++ b/tools/tiffgt.c
@@ -196,7 +196,7 @@ int main(int argc, char *argv[])
*/
glutInitWindowSize(width, height);
snprintf(title, TITLE_LENGTH - 1, "%s [%u]", filelist[fileindex],
- (unsigned int)TIFFCurrentDirectory(tif));
+ TIFFCurrentDirectory(tif));
glutCreateWindow(title);
glutDisplayFunc(raster_draw);
glutReshapeFunc(raster_reshape);
@@ -322,7 +322,7 @@ static void raster_reshape(int win_w, int win_h)
glPixelZoom(xratio, yratio);
glViewport(0, 0, win_w, win_h);
snprintf(title, 1024, "%s [%u] %d%%", filelist[fileindex],
- (unsigned int)TIFFCurrentDirectory(tif), ratio);
+ TIFFCurrentDirectory(tif), ratio);
glutSetWindowTitle(title);
}