Skip to content

Commit 0536362

Browse files
sema/format: Fix type mismatch in header
1 parent 50bc08f commit 0536362

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

include/ofc/sema/format.h

+4-2
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@
1616
#ifndef __ofc_sema_format_h__
1717
#define __ofc_sema_format_h__
1818

19+
#include "ofc/sema/type.h"
20+
1921
typedef struct
2022
{
2123
const ofc_parse_format_desc_list_t* src;
@@ -27,8 +29,8 @@ const char* ofc_sema_format_str_rep(
2729
const ofc_parse_format_desc_e type);
2830

2931
bool ofc_sema_compare_desc_expr_type(
30-
unsigned type_desc,
31-
unsigned type_expr);
32+
ofc_parse_format_desc_e type_desc,
33+
ofc_sema_type_e type_expr);
3234

3335
bool ofc_sema_format_desc(
3436
const ofc_parse_format_desc_t* desc);

0 commit comments

Comments
 (0)