Permalink
Browse files

set cast

  • Loading branch information...
1 parent b3ccc6e commit c549110e8b6e84956bba61d8f2ed6f1124fe59eb @yappo committed Mar 13, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 mysql_address_normalize.cc
@@ -194,7 +194,7 @@ char* address_normalize(UDF_INIT* initid, UDF_ARGS* args, char* result, unsigned
if (args->arg_count == 2)
{
- is_strict_mode = *(args->args[1]);
+ is_strict_mode = *((long long*) args->args[1]);
} else {
is_strict_mode = 0;
}

0 comments on commit c549110

Please sign in to comment.