Commit Graph

4 Commits

Author SHA1 Message Date
Peter0x44 b425d04291 VITA: Fix -Wpointer-sign warning
source/net_udp.c: In function 'UDP_Init':
source/net_udp.c:102:25: warning: pointer targets in passing argument 2 of 'Cvar_Set' differ in signedness [-Wpointer-sign]
  102 |   Cvar_Set ("hostname", nick);
      |                         ^~~~
      |                         |
      |                         SceChar8 * {aka signed char *}
In file included from source/quakedef.h:282,
                 from source/net_udp.c:26:
source/cvar.h:98:50: note: expected 'const char *' but argument is of type 'SceChar8 *' {aka 'signed char *'}
   98 | void Cvar_Set (const char *var_name, const char *value);
      |                                      ~~~~~~~~~~~~^~~~~
2024-06-17 17:18:31 +01:00
Peter0x44 b709396d40 VITA: Fix -Wpointer-sign warning
source/net_udp.c:101:64: warning: pointer targets in passing argument 2 of 'sceAppUtilSystemParamGetString' differ in signedness [-Wpointer-sign]
  101 |   sceAppUtilSystemParamGetString(SCE_SYSTEM_PARAM_ID_USERNAME, nick, SCE_SYSTEM_PARAM_USERNAME_MAXSIZE);
      |                                                                ^~~~
      |                                                                |
      |                                                                char *
In file included from /usr/local/vitasdk/arm-vita-eabi/include/psp2/appmgr.h:12,
                 from /usr/local/vitasdk/arm-vita-eabi/include/vitasdk.h:8,
                 from source/net_udp.c:30:
/usr/local/vitasdk/arm-vita-eabi/include/psp2/apputil.h:244:12: note: expected 'SceChar8 *' {aka 'signed char *'} but argument is of type 'char *'
  244 |  SceChar8 *buf, SceSize bufSize);
2024-06-17 17:18:31 +01:00
cypress 2108d718d4 NX/VITA: Fix networking progs with multiple clients 2023-11-12 19:53:02 -05:00
unknown 1556256c74 Initial commit 2022-02-08 14:06:54 -05:00