changeset 1405:104701299b91

Tests: unpack GIF in VAX order to fix image_filter.t on big-endian.
author Sergey Kandaurov <pluknet@nginx.com>
date Wed, 28 Nov 2018 14:30:33 +0300
parents d316f1aff10a
children 6404fd77f367
files image_filter.t
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/image_filter.t
+++ b/image_filter.t
@@ -259,7 +259,7 @@ isnt(http_get('/proxy_buffer/jpeg'), und
 ###############################################################################
 
 sub gif_size {
-	join ' ', unpack("x6S2", http_get_body(@_));
+	join ' ', unpack("x6v2", http_get_body(@_));
 }
 
 sub http_get_body {