mirror of
https://git.proxmox.com/git/mirror_corosync
synced 2025-08-14 07:49:20 +00:00
logsys.c: fix two more warnings
git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1945 fd59a12c-fef9-0310-b244-a6a79926bd2f
This commit is contained in:
parent
0edd682c7d
commit
1280f900cb
@ -756,7 +756,7 @@ void _logsys_log_rec (
|
||||
my_memcpy_32bit (&flt_data[idx],
|
||||
(const int *)buf_args[i], first);
|
||||
my_memcpy_32bit (&flt_data[0],
|
||||
(int *)(((const unsigned char *)buf_args[i]) + (first << 2)),
|
||||
(const int *)(((const unsigned char *)buf_args[i]) + (first << 2)),
|
||||
second);
|
||||
if (bytes % 4) {
|
||||
my_memcpy_8bit ((char *)&flt_data[0 + second],
|
||||
@ -1119,7 +1119,7 @@ int logsys_init (
|
||||
char *format,
|
||||
int rec_size)
|
||||
{
|
||||
char *errstr;
|
||||
const char *errstr;
|
||||
|
||||
_logsys_nosubsys_set ();
|
||||
_logsys_subsys_create (name, priority);
|
||||
|
Loading…
Reference in New Issue
Block a user