diff --git a/lib/GoClientGenerator.php b/lib/GoClientGenerator.php index 4e3b3a9ab..e903508bd 100644 --- a/lib/GoClientGenerator.php +++ b/lib/GoClientGenerator.php @@ -546,7 +546,7 @@ function writeAction($serviceId, $serviceName, DOMElement $actionNode, &$prefixT $goOutputType = "*int32"; break; case "float": - $goOutputType = "*float32"; + $goOutputType = "*float64"; break; case "bool": $goOutputType = "*bool"; @@ -708,7 +708,7 @@ function getSignature($paramNodes, &$prefixText, &$importedEnums) $goType = "int32"; break; case "float": - $goType = "float32"; + $goType = "float64"; break; case "KalturaStringValue": $goOutputType = "string"; @@ -979,8 +979,8 @@ private function addClass(DOMElement $classNode) } else if ($propType == "float") { - $goPropType = "float32"; - $property["pureType"] = "float32"; + $goPropType = "float64"; + $property["pureType"] = "float64"; } else {