com php-src: Fix line endings, getting a little annoyed with VS' warning about mismatch: ext/exif/exif.c
| From: | Kalle Sommer Nielsen | Date: | Fri, 05 Aug 2016 09:12:51 +0000 |
| Subject: | com php-src: Fix line endings, getting a little annoyed with VS' warning about mismatch: ext/exif/exif.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-93637@lists.php.net to get a copy of this message | ||
Commit: b3124dbe12915762b51bfab62d5cbbe83ad52724
Author: Kalle Sommer Nielsen <kalle@php.net> Fri, 5 Aug 2016 11:12:51 +0200
Parents: 1740823864fe22f469642c68c5bf389d1a30f43c
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=b3124dbe12915762b51bfab62d5cbbe83ad52724
Log:
Fix line endings, getting a little annoyed with VS' warning about mismatch
Changed paths:
M ext/exif/exif.c
Diff:
diff --git a/ext/exif/exif.c b/ext/exif/exif.c
index 2618d74..d5271e7 100644
--- a/ext/exif/exif.c
+++ b/ext/exif/exif.c
@@ -1918,7 +1918,7 @@ static void exif_iif_add_value(image_info_type *image_info, int section_index,
c
case TAG_FMT_UNDEFINED:
if (value) {
if (tag == TAG_MAKER_NOTE) {
- length = MIN(length, strlen(value));
+ length = MIN(length, (int) strlen(value));
}
/* do not recompute length here */