minor change to an error message

svn: r14070
This commit is contained in:
Eli Barzilay 2009-03-12 09:07:41 +00:00
parent 813e16489e
commit e59b597753

View File

@ -1621,7 +1621,7 @@ static void* SCHEME2C(Scheme_Object *type, void *dst, long delta,
return NULL; /* hush the compiler */
}
case FOREIGN_fpointer:
if (!ret_loc) scheme_wrong_type("Scheme->C","non-void-C-type",0,1,&(type));
if (!(ret_loc)) scheme_wrong_type("Scheme->C","fpointer",0,1,&(val));
break;
case FOREIGN_struct:
if (!SCHEME_FFIANYPTRP(val))