2
0
Эх сурвалжийг харах

pass string, not pointer, to hxcpp_parse_float

Hugh Sanderson 15 жил өмнө
parent
commit
129e27ef1e
1 өөрчлөгдсөн 1 нэмэгдсэн , 1 устгасан
  1. 1 1
      std/Std.hx

+ 1 - 1
std/Std.hx

@@ -141,7 +141,7 @@ class Std {
 		#elseif php
 		__php__("is_numeric($x) ? floatval($x) : acos(1.01)");
 		#elseif cpp
-		__global__.__hxcpp_parse_float(x.__s);
+		__global__.__hxcpp_parse_float(x);
 		#else
 		0;
 		#end