Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Jun 2019 12:19:15 +0000 (UTC)
From:      Alexey Dokuchaev <danfe@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r504180 - head/graphics/ocaml-images/files
Message-ID:  <201906141219.x5ECJFx3031369@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: danfe
Date: Fri Jun 14 12:19:15 2019
New Revision: 504180
URL: https://svnweb.freebsd.org/changeset/ports/504180

Log:
  Remove needless typecasts to unbreak the build against both current
  and future versions of OCaml.

Modified:
  head/graphics/ocaml-images/files/patch-src_tiffwrite.c

Modified: head/graphics/ocaml-images/files/patch-src_tiffwrite.c
==============================================================================
--- head/graphics/ocaml-images/files/patch-src_tiffwrite.c	Fri Jun 14 12:15:42 2019	(r504179)
+++ head/graphics/ocaml-images/files/patch-src_tiffwrite.c	Fri Jun 14 12:19:15 2019	(r504180)
@@ -26,3 +26,14 @@
  
  extern value *imglib_error;
  
+@@ -56,8 +63,8 @@ value open_tiff_file_for_write( value file,
+     /* Resolution */
+     /* FillOrder */
+     
+-    TIFFSetField(tif, TIFFTAG_IMAGEWIDTH, (uint32) image_width);
+-    TIFFSetField(tif, TIFFTAG_IMAGELENGTH, (uint32) image_height);
++    TIFFSetField(tif, TIFFTAG_IMAGEWIDTH, image_width);
++    TIFFSetField(tif, TIFFTAG_IMAGELENGTH, image_height);
+     TIFFSetField(tif, TIFFTAG_ORIENTATION, ORIENTATION_TOPLEFT);
+     TIFFSetField(tif, TIFFTAG_SAMPLESPERPIXEL, 3);
+     TIFFSetField(tif, TIFFTAG_BITSPERSAMPLE, 8);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201906141219.x5ECJFx3031369>