diff --git a/py/emitcpy.c b/py/emitcpy.c
index fe40c4145ee7ae5c5e4d331fd91ed4c897e02ba4..8c608d6a2b7ad9d2224f8c022f0e2f768b1d8234 100644
--- a/py/emitcpy.c
+++ b/py/emitcpy.c
@@ -230,7 +230,7 @@ STATIC void emit_cpy_load_const_verbatim_str(emit_t *emit, const char *str) {
     }
 }
 
-STATIC void emit_cpy_load_fast(emit_t *emit, qstr qstr, int local_num) {
+STATIC void emit_cpy_load_fast(emit_t *emit, qstr qstr, uint id_flags, int local_num) {
     emit_pre(emit, 1, 3);
     if (emit->pass == PASS_3) {
         printf("LOAD_FAST %d %s\n", local_num, qstr_str(qstr));