mirror of
https://github.com/fpganinja/taxi.git
synced 2026-02-28 05:55:09 -08:00
pyrite: Fix compiler warning
Signed-off-by: Alex Forencich <alex@alexforencich.com>
This commit is contained in:
@@ -354,7 +354,7 @@ int write_1_to_file(const char *file_name)
|
|||||||
|
|
||||||
int file_type_from_ext(const char *file_name)
|
int file_type_from_ext(const char *file_name)
|
||||||
{
|
{
|
||||||
char *ptr;
|
const char *ptr;
|
||||||
char buffer[32];
|
char buffer[32];
|
||||||
|
|
||||||
ptr = strrchr(file_name, '.');
|
ptr = strrchr(file_name, '.');
|
||||||
|
|||||||
Reference in New Issue
Block a user