mirror of
https://github.com/morgan9e/FreeRDP
synced 2026-04-15 00:44:19 +09:00
Fixed all Wdocumentation warnings
This commit is contained in:
committed by
Martin Fleisz
parent
8200536285
commit
37ab25e19d
@@ -53,14 +53,16 @@ extern UwacErrorHandler uwacErrorHandler;
|
||||
|
||||
typedef struct uwac_task UwacTask;
|
||||
|
||||
/** @brief */
|
||||
/** @brief task struct
|
||||
*/
|
||||
struct uwac_task
|
||||
{
|
||||
void (*run)(UwacTask* task, uint32_t events);
|
||||
struct wl_list link;
|
||||
};
|
||||
|
||||
/** @brief a global registry object */
|
||||
/** @brief a global registry object
|
||||
*/
|
||||
struct uwac_global
|
||||
{
|
||||
uint32_t name;
|
||||
@@ -73,14 +75,16 @@ typedef struct uwac_global UwacGlobal;
|
||||
struct uwac_event_list_item;
|
||||
typedef struct uwac_event_list_item UwacEventListItem;
|
||||
|
||||
/** @brief */
|
||||
/** @brief double linked list element
|
||||
*/
|
||||
struct uwac_event_list_item
|
||||
{
|
||||
UwacEvent event;
|
||||
UwacEventListItem *tail, *head;
|
||||
};
|
||||
|
||||
/** @brief main connection object to a wayland display */
|
||||
/** @brief main connection object to a wayland display
|
||||
*/
|
||||
struct uwac_display
|
||||
{
|
||||
struct wl_list globals;
|
||||
|
||||
@@ -356,7 +356,7 @@ int UwacWindowShmAllocBuffers(UwacWindow* w, int nbuffers, int allocSize, uint32
|
||||
#else
|
||||
region16_init(&buffer->damage);
|
||||
#endif
|
||||
buffer->data = &data[allocSize * i];
|
||||
buffer->data = &((char*)data)[allocSize * i];
|
||||
buffer->size = allocSize;
|
||||
buffer->wayland_buffer =
|
||||
wl_shm_pool_create_buffer(pool, allocSize * i, width, height, w->stride, format);
|
||||
|
||||
Reference in New Issue
Block a user