Skip to content

Commit d099dd3

Browse files
fix: Update WBADFILE definition to use NULL
Co-Authored-By: [email protected] <[email protected]>
1 parent 9829369 commit d099dd3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/fatfs-check.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ jobs:
8585
echo "#undef WOLFSSH_USER_FILESYSTEM" >> ${{ github.workspace }}/build-dir/include/wolfssh/myFilesystem.h
8686
echo "#include <ffconf.h>" >> ${{ github.workspace }}/build-dir/include/wolfssh/myFilesystem.h
8787
echo "#include <ff.h>" >> ${{ github.workspace }}/build-dir/include/wolfssh/myFilesystem.h
88-
echo "#define WBADFILE ((FIL*)0)" >> ${{ github.workspace }}/build-dir/include/wolfssh/myFilesystem.h
88+
echo "#define WBADFILE NULL" >> ${{ github.workspace }}/build-dir/include/wolfssh/myFilesystem.h
8989
9090
- name: Checkout, build, and test wolfssh
9191
uses: wolfSSL/actions-build-autotools-project@v1

0 commit comments

Comments
 (0)