1 --- src/VBox/Main/src-client/ConsoleImpl2.cpp.orig	2020-05-13 19:44:07 UTC
2 +++ src/VBox/Main/src-client/ConsoleImpl2.cpp
3 @@ -5265,7 +5265,7 @@ int Console::i_configNetwork(const char *pszDevice,
4                  {
5                      switch (hrc)
6                      {
7 -                        case VERR_ACCESS_DENIED:
8 +                        case (HRESULT)VERR_ACCESS_DENIED:
9                              return VMSetError(VMR3GetVM(mpUVM), VERR_HOSTIF_INIT_FAILED, RT_SRC_POS,  N_(
10                                              "Failed to open '/dev/net/tun' for read/write access. Please check the "
11                                              "permissions of that node. Either run 'chmod 0666 /dev/net/tun' or "
12 @@ -5467,7 +5467,7 @@ int Console::i_configNetwork(const char *pszDevice,
13                      {
14                          switch (hrc)
15                          {
16 -                            case VERR_ACCESS_DENIED:
17 +                            case (HRESULT)VERR_ACCESS_DENIED:
18                                  return VMSetError(VMR3GetVM(mpUVM), VERR_HOSTIF_INIT_FAILED, RT_SRC_POS,  N_(
19                                                  "Failed to open '/dev/%s' for read/write access.  Please check the "
20                                                  "permissions of that node, and that the net.link.tap.user_open "
21