twn_utils.c: fix profile command type
This commit is contained in:
@ -301,7 +301,7 @@ char *expand_asterisk(const char *mask, const char *to) {
|
||||
}
|
||||
|
||||
|
||||
void profile_start(char profile[const static 1]) {
|
||||
void profile_start(char const *profile) {
|
||||
/* stamp time immediately, so to not have influence of our profile lookup */
|
||||
uint64_t const counter = SDL_GetPerformanceCounter();
|
||||
|
||||
@ -318,7 +318,7 @@ void profile_start(char profile[const static 1]) {
|
||||
}
|
||||
|
||||
|
||||
void profile_end(char profile[const static 1]) {
|
||||
void profile_end(char const *profile) {
|
||||
/* stamp time immediately, so to not have influence of our profile lookup */
|
||||
uint64_t const counter = SDL_GetPerformanceCounter();
|
||||
|
||||
|
Reference in New Issue
Block a user