TimPaterson/stdio-mini

fgetc() passes the wrong data to the user provided _fdev_get()

TimPaterson opened this issue · 0 comments

The user-provided _fdev_get() function is defined to receive the user data field from the FILE structure as an argument. However, fgetc() is passing a pointer to the FILE instead.