aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--k_cext_generatecode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/k_cext_generatecode.c b/k_cext_generatecode.c
index bd7304b..cd44355 100644
--- a/k_cext_generatecode.c
+++ b/k_cext_generatecode.c
@@ -28,7 +28,7 @@ static char *has_intfunc(char *string){
static char *has_floatfunc(char *string){
char *s=strstr(string,"FLOAT_");
if(s==NULL) return NULL;
- if(s[4]=='(') return has_floatfunc(s+4);
+ if(s[6]=='(') return has_floatfunc(s+6);
return s;
}