pipewire/spa/include/spa/utils
Jonas Holmberg 3b01205585 spa: Fix sign conversion in SPA_IS_ALIGNED
Fix the following compiler warning:
| In file included from /usr/include/spa-0.2/spa/utils/dict.h:14,
|                  from ../src/util_pipewire_objects.c:15:
| /usr/include/spa-0.2/spa/utils/defs.h: In function 'spa_ptr_inside_and_aligned':
| /usr/include/spa-0.2/spa/utils/defs.h:275:56: error: conversion to 'long unsigned int' from 'long int' may change the sign of the result [-Werror=sign-conversion]
|   275 | #define SPA_PTR_ALIGNMENT(p,align)      ((intptr_t)(p) & ((align)-1))
|       |                                                        ^
| /usr/include/spa-0.2/spa/utils/defs.h:276:42: note: in expansion of macro 'SPA_PTR_ALIGNMENT'
|   276 | #define SPA_IS_ALIGNED(p,align)         (SPA_PTR_ALIGNMENT(p,align) == 0)
|       |                                          ^~~~~~~~~~~~~~~~~
| /usr/include/spa-0.2/spa/utils/defs.h:308:13: note: in expansion of macro 'SPA_IS_ALIGNED'
|   308 |         if (SPA_IS_ALIGNED(p2, align)) {
|       |             ^~~~~~~~~~~~~~
2024-01-08 12:11:40 +01:00
..
ansi.h treewide: use SPDX tags to specify copyright information 2023-02-16 10:54:48 +00:00
atomic.h spa: add atomic.h and port macros to it 2023-07-13 12:25:22 +02:00
cleanup.h spa: expose utils/cleanup.h for external users 2023-10-11 19:56:11 +02:00
defs.h spa: Fix sign conversion in SPA_IS_ALIGNED 2024-01-08 12:11:40 +01:00
dict.h treewide: use SPDX tags to specify copyright information 2023-02-16 10:54:48 +00:00
dll.h treewide: use SPDX tags to specify copyright information 2023-02-16 10:54:48 +00:00
enum-types.h treewide: use SPDX tags to specify copyright information 2023-02-16 10:54:48 +00:00
hook.h hooks: add and use _fast callback function 2023-05-06 00:27:12 +02:00
json-pod.h treewide: use SPDX tags to specify copyright information 2023-02-16 10:54:48 +00:00
json.h Fix some warnings 2023-11-21 16:32:51 +00:00
keys.h alsa: Add a mechanism to bind ALSA controls as prop params 2023-11-07 23:22:53 -05:00
list.h treewide: use SPDX tags to specify copyright information 2023-02-16 10:54:48 +00:00
names.h alsa-compress-offload: Add device object and udev based autodetection 2023-09-02 08:28:22 +00:00
ratelimit.h ratelimit: missed -> suppressed 2023-09-08 12:18:23 +02:00
result.h treewide: use SPDX tags to specify copyright information 2023-02-16 10:54:48 +00:00
ringbuffer.h cleanup unused variables 2023-06-26 10:51:09 +00:00
string.h spa: spa_strbuf_init should null-terminate 2024-01-04 10:02:55 +00:00
type-info.h Port: Add tag param 2023-08-29 14:22:13 +02:00
type.h Port: Add tag param 2023-08-29 14:22:13 +02:00