Fix DBG_PRINTF macro
@@ -74,7 +74,7 @@ int picoquic_get_input_path(char * target_file_path, size_t file_path_max, const
#define DBG_PRINTF_FILENAME_MAX 24
#define DBG_PRINTF(fmt, ...) \
debug_printf("%s:%u [%s]: " fmt "\n", \
- __FILE__ + MAX(DBG_PRINTF_FILENAME_MAX, sizeof(__FILE__)) - DBG_PRINTF_FILENAME_MAX, \
+ &__FILE__[MAX(DBG_PRINTF_FILENAME_MAX, sizeof(__FILE__)) - DBG_PRINTF_FILENAME_MAX], \
__LINE__, __FUNCTION__, __VA_ARGS__)
#define DBG_FATAL_PRINTF(fmt, ...) \
