Commits

Anonymous committed fcfec6a

Added casts from unsigned char to char when calling rds_object() on
frozen code.

Comments (0)

Files changed (1)

 		err_setstr(ImportError, "No such frozen object");
 		return NULL;
 	}
-	return rds_object(p->code, p->size);
+	return rds_object((char *)p->code, p->size);
 }
 
 /* Initialize a frozen module.
 		return 0;
 	if (verbose)
 		fprintf(stderr, "import %s # frozen\n", name);
-	co = rds_object(p->code, p->size);
+	co = rds_object((char *)p->code, p->size);
 	if (co == NULL)
 		return -1;
 	if (!is_codeobject(co)) {