mirror of
https://github.com/amadvance/snapraid.git
synced 2026-10-26 10:51:54 -04:00
Cast sig_atomic_t global_interrupt to int in os_signal_interrupt()
This commit is contained in:
parent
21ca93f8c1
commit
a4a8e817b4
2 changed files with 2 additions and 2 deletions
|
|
@ -24,7 +24,7 @@ volatile sig_atomic_t global_interrupt = 0;
|
|||
|
||||
int os_signal_interrupt(void)
|
||||
{
|
||||
return global_interrupt;
|
||||
return (int)global_interrupt;
|
||||
}
|
||||
|
||||
void app_signal_handler(int signum)
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@ volatile sig_atomic_t global_interrupt = 0;
|
|||
|
||||
int os_signal_interrupt(void)
|
||||
{
|
||||
return global_interrupt;
|
||||
return (int)global_interrupt;
|
||||
}
|
||||
|
||||
/* LCOV_EXCL_START */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue