mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-25 02:03:03 +01:00
Fixed the build.
This commit is contained in:
parent
d9679fece3
commit
da12d22250
@ -6047,13 +6047,12 @@ int API_ROUTINE fb_shutdown(unsigned int timeout)
|
|||||||
// Shutdown providers
|
// Shutdown providers
|
||||||
for (int n = 0; n < SUBSYSTEMS; ++n)
|
for (int n = 0; n < SUBSYSTEMS; ++n)
|
||||||
{
|
{
|
||||||
typedef int API_ROUTINE shutType(unsigned int);
|
typedef int shutType(unsigned int);
|
||||||
PTR entry = get_entrypoint(PROC_SHUTDOWN, n);
|
PTR entry = get_entrypoint(PROC_SHUTDOWN, n);
|
||||||
if (entry != no_entrypoint)
|
if (entry != no_entrypoint)
|
||||||
{
|
{
|
||||||
// this awful cast will be gone as soon as we will have
|
// this awful cast will be gone as soon as we will have
|
||||||
// pure virutal functions based provider interface
|
// pure virtual functions based provider interface
|
||||||
typedef int API_ROUTINE shutType(int);
|
|
||||||
if (((shutType*)entry)(timeout) != FB_SUCCESS)
|
if (((shutType*)entry)(timeout) != FB_SUCCESS)
|
||||||
{
|
{
|
||||||
rc = FB_FAILURE;
|
rc = FB_FAILURE;
|
||||||
|
Loading…
Reference in New Issue
Block a user