Skip to content

Commit

Permalink
Fix 32 bit integer issue (googleads#236) for v201609
Browse files Browse the repository at this point in the history
Fix issue googleads#236
  • Loading branch information
jclee100 authored Mar 3, 2017
1 parent 2a10692 commit 8f196dd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ public function __construct(
},
'denormalize' => function($value, $type) {
if ($type === 'int' || $type === 'integer') {
return intval($value);
return $value + 0;
} else if ($type === 'float' || $type === 'double') {
return floatval($value);
} else if ($type === 'bool' || $type === 'boolean') {
Expand Down

0 comments on commit 8f196dd

Please sign in to comment.