1
0
mirror of https://github.com/php/php-src.git synced 2026-03-28 18:22:42 +01:00

Merge branch 'PHP-5.4' into PHP-5.5

This commit is contained in:
Ard Biesheuvel
2014-09-20 16:40:02 -07:00

View File

@@ -1269,7 +1269,7 @@ file_signextend(struct magic_set *ms, struct magic *m, uint64_t v)
* the sign extension must have happened.
*/
case FILE_BYTE:
v = (char) v;
v = (signed char) v;
break;
case FILE_SHORT:
case FILE_BESHORT: