Skip to content

Commit

Permalink
Windows: fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
CarterLi committed Aug 17, 2023
1 parent ea2a26b commit 67fe1e6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/common/option.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ static inline void ffOptionInitModuleBaseInfo(
)
{
baseInfo->name = name;
baseInfo->parseCommandOptions = parseCommandOptions;
baseInfo->parseJsonObject = parseJsonObject;
baseInfo->printModule = printModule;
baseInfo->parseCommandOptions = (__typeof__(baseInfo->parseCommandOptions)) parseCommandOptions;
baseInfo->parseJsonObject = (__typeof__(baseInfo->parseJsonObject)) parseJsonObject;
baseInfo->printModule = (__typeof__(baseInfo->printModule)) printModule;
}

typedef struct FFModuleArgs
Expand Down

0 comments on commit 67fe1e6

Please sign in to comment.