Index: native_client_sdk/src/examples/hello_world_c/hello_world_c.c |
diff --git a/native_client_sdk/src/examples/hello_world_c/hello_world_c.c b/native_client_sdk/src/examples/hello_world_c/hello_world_c.c |
index 939e724db6ce29aa2ce9151580ef0cf752faa273..23a64418034ec32b7b849d8f196f268246f6ce56 100644 |
--- a/native_client_sdk/src/examples/hello_world_c/hello_world_c.c |
+++ b/native_client_sdk/src/examples/hello_world_c/hello_world_c.c |
@@ -70,7 +70,7 @@ static char* VarToCStr(struct PP_Var var) { |
*/ |
static struct PP_Var CStrToVar(const char* str) { |
if (ppb_var_interface != NULL) { |
- return ppb_var_interface->VarFromUtf8(module_id, str, strlen(str)); |
+ return ppb_var_interface->VarFromUtf8(str, strlen(str)); |
} |
return PP_MakeUndefined(); |
} |