]> xenbits.xensource.com Git - xcp/xen-api-libs.git/commitdiff
[rpc-light] fix a typo in rpc-light; base type is 'float', not 'flaot'.
authorThomas Gazagnaire <thomas.gazagnaire@citrix.com>
Mon, 8 Mar 2010 17:47:55 +0000 (17:47 +0000)
committerThomas Gazagnaire <thomas.gazagnaire@citrix.com>
Mon, 8 Mar 2010 17:47:55 +0000 (17:47 +0000)
Thanks to Marcus Granado to have spotten this one.

Signed-off-by: Thomas Gazagnaire <thomas.gazagnaire@citrix.com>
rpc-light/p4_rpc.ml

index 4d08da0b69fadf5a3f96271fd52dfa16ad326445..a057975c91758d67340f8ae0ab9994ce62d3d9a7 100644 (file)
@@ -21,7 +21,7 @@ open Syntax
 
 
 let is_base = function
-       | "int64" | "int32" | "int" | "flaot" | "string" | "unit" -> true
+       | "int64" | "int32" | "int" | "float" | "string" | "unit" -> true
        | _ -> false
 
 let rpc_of n = "rpc_of_" ^ n