mirror of
https://github.com/samba-team/samba.git
synced 2025-02-26 21:57:41 +03:00
spoolss: Align some integer types
SPOOLSS_NOTIFY_MSG_CTR->num_groups is defined as uint32_t Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
parent
44fd74476d
commit
2c04e9a6f2
@ -1020,7 +1020,7 @@ static SPOOLSS_NOTIFY_MSG_GROUP* notify_ctr_getgroup( SPOOLSS_NOTIFY_MSG_CTR *ct
|
||||
How many groups of change messages do we have ?
|
||||
**********************************************************************/
|
||||
|
||||
static int notify_msg_ctr_numgroups( SPOOLSS_NOTIFY_MSG_CTR *ctr )
|
||||
static uint32_t notify_msg_ctr_numgroups( SPOOLSS_NOTIFY_MSG_CTR *ctr )
|
||||
{
|
||||
if ( !ctr )
|
||||
return 0;
|
||||
@ -1364,13 +1364,12 @@ static void receive_notify2_message_list(struct messaging_context *msg,
|
||||
struct server_id server_id,
|
||||
DATA_BLOB *data)
|
||||
{
|
||||
size_t msg_count, i;
|
||||
size_t msg_count, i, num_groups;
|
||||
char *buf = (char *)data->data;
|
||||
char *msg_ptr;
|
||||
size_t msg_len;
|
||||
SPOOLSS_NOTIFY_MSG notify;
|
||||
SPOOLSS_NOTIFY_MSG_CTR messages;
|
||||
int num_groups;
|
||||
|
||||
if (data->length < 4) {
|
||||
DEBUG(0,("receive_notify2_message_list: bad message format (len < 4)!\n"));
|
||||
|
Loading…
x
Reference in New Issue
Block a user