diff options
author | Peter Kokot <peterkokot@gmail.com> | 2018-10-13 14:14:50 +0200 |
---|---|---|
committer | Peter Kokot <peterkokot@gmail.com> | 2018-10-13 14:14:50 +0200 |
commit | 902d39a3a79c6efe93c8879575fdd5a759cf03de (patch) | |
tree | e6ec0af8ac4333de34f581c2c7b5a2eb93e635a1 /ext/standard/pack.c | |
parent | 581f0141b6dd8d20e71612f90b01507ed0783db8 (diff) | |
download | php-git-902d39a3a79c6efe93c8879575fdd5a759cf03de.tar.gz |
Trim trailing whitespace in source code files
Diffstat (limited to 'ext/standard/pack.c')
-rw-r--r-- | ext/standard/pack.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/ext/standard/pack.c b/ext/standard/pack.c index ae10b8a6e7..7d154841ab 100644 --- a/ext/standard/pack.c +++ b/ext/standard/pack.c @@ -600,7 +600,7 @@ PHP_FUNCTION(pack) } break; } - + case 'g': { /* pack little endian float */ while (arg-- > 0) { @@ -608,7 +608,7 @@ PHP_FUNCTION(pack) php_pack_copy_float(1, &ZSTR_VAL(output)[outputpos], v); outputpos += sizeof(v); } - + break; } case 'G': { @@ -629,7 +629,7 @@ PHP_FUNCTION(pack) } break; } - + case 'e': { /* pack little endian double */ while (arg-- > 0) { @@ -639,7 +639,7 @@ PHP_FUNCTION(pack) } break; } - + case 'E': { /* pack big endian double */ while (arg-- > 0) { @@ -1119,7 +1119,7 @@ PHP_FUNCTION(unpack) } #endif - case 'f': /* float */ + case 'f': /* float */ case 'g': /* little endian float*/ case 'G': /* big endian float*/ { @@ -1132,15 +1132,15 @@ PHP_FUNCTION(unpack) } else { memcpy(&v, &input[inputpos], sizeof(float)); } - + add_assoc_double(return_value, n, (double)v); break; } - + case 'd': /* double */ case 'e': /* little endian float */ - case 'E': /* big endian float */ + case 'E': /* big endian float */ { double v; if (type == 'e') { |