Message ID | 20241102204159.239698-1-stefano.babic@swupdate.org |
---|---|
State | Accepted |
Headers | show
Return-Path: <swupdate+bncBD2ZDGN6SEKRBHE5TK4QMGQETQGVY5Y@googlegroups.com> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=googlegroups.com header.i=@googlegroups.com header.a=rsa-sha256 header.s=20230601 header.b=t2RBfeSh; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=googlegroups.com (client-ip=2a00:1450:4864:20::53b; helo=mail-ed1-x53b.google.com; envelope-from=swupdate+bncbd2zdgn6sekrbhe5tk4qmgqetqgvy5y@googlegroups.com; receiver=patchwork.ozlabs.org) Received: from mail-ed1-x53b.google.com (mail-ed1-x53b.google.com [IPv6:2a00:1450:4864:20::53b]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4XgqR83f0Jz1xxy for <incoming@patchwork.ozlabs.org>; Sun, 3 Nov 2024 07:42:11 +1100 (AEDT) Received: by mail-ed1-x53b.google.com with SMTP id 4fb4d7f45d1cf-5cec7d472c1sf641759a12.0 for <incoming@patchwork.ozlabs.org>; Sat, 02 Nov 2024 13:42:10 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1730580126; cv=pass; d=google.com; s=arc-20240605; b=NYy7OoD7jkCFl/EWRhGN0bbU0owWmC0LrqNRwZgKcw2KztAklmLsDRc9RfLR/nvUPA DtHYmsgNJbad7sNxRiAh14YeyMlYQfAL4vRKr68mMWDjsfqFrVpm/GCjclBdq52y5U/r CaG9Bxf9kcNcVRjJrxuzCv/A72bpsDsHaKZZmJ4WOSwpt0wrydEpCBJ5fNbLXf1uq12t vwLV7juAiRURN6cIbe6mMFtiPghnX8aGWSLBmH5uyhWUY92kBz0a5Kg3qKnWXKRl+h6p r+1PovaItWhD073XlQzDIdxX7wae9ucOotvpKmaNrA1IBOgX/BS+jkmJra0m0LZm5Nra j3UQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:ui-outboundreport :content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:sender:dkim-signature; bh=/Dl5F1HRFaLJZp6nBpJBVr5feVNxH6ymJVmRb6h+C4A=; fh=B/TLL8ybj9f1nG0+Pi+04EYIGeG8RH4FMrYTLktxla4=; b=WbjiGD5CMAL4BBXIc1RNDQiNPL22Q+1L58z8dpNmLTB6dbp0tm29ItXY6rMXnen6si WYJ6zN4kBruX8VPKJGGp3o7ZNMb7jVJH6pe+yU+RMFVnRsK/H3nJXX2wUyLe+HJrCrX1 0PBMQvZu8Mo6l66ylKnvh0uXQGGyrFhK7qvdR3kRIsutv4ed8x1XX4aiWD0eF3aL4yDb uNY9KLE88lsIBkd5/1QS7Lko6/kAAp43/+e9CvesGftxjGh4UvplJO4ZyoJJbVbI1iZu sOVtkFYC/BVHTD9/0os4/SSs7D1GN4iPX1bVZi1AeAdqxM07beKjY4kZeP2hCFzaIXCu UvDw==; darn=patchwork.ozlabs.org ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@swupdate.org header.s=s1-ionos header.b=Zf143bLV; spf=pass (google.com: domain of stefano.babic@swupdate.org designates 212.227.126.135 as permitted sender) smtp.mailfrom=stefano.babic@swupdate.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20230601; t=1730580126; x=1731184926; darn=patchwork.ozlabs.org; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:x-original-authentication-results :x-original-sender:ui-outboundreport:content-transfer-encoding :mime-version:message-id:date:subject:cc:to:from:sender:from:to:cc :subject:date:message-id:reply-to; bh=/Dl5F1HRFaLJZp6nBpJBVr5feVNxH6ymJVmRb6h+C4A=; b=t2RBfeShW8UXdRKixdO92F6B1tOccGv0oT+kWtRCMqfIGgtk5y9ZOjlGrswNqWMdyW H9qsF66hQmIqekvr+Ag3goLeTNeMLRST0R9uQuY7DRU2/Iel5oBpEpNvKMbDF3R47ioq COM34yZJ5nfRHRLSnceN3BI1eHfNuRnQcKniDktp97A/KthLJgsMJn2++zkh+TqaOhFx ANDySulO6ZkMZb33Ab0q6QcJ4RveesUXcGjaImVyamLK63FW38MnN3bQGyWSW562wuvy A4iSuqKMeIu08Y4WY/1l577m63oWd8p9QvA/3T86m2QGEsEn2J2yod/H4FeKZOcHkFXu n21g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1730580126; x=1731184926; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence :x-original-authentication-results:x-original-sender :ui-outboundreport:content-transfer-encoding:mime-version:message-id :date:subject:cc:to:from:x-beenthere:x-gm-message-state:sender:from :to:cc:subject:date:message-id:reply-to; bh=/Dl5F1HRFaLJZp6nBpJBVr5feVNxH6ymJVmRb6h+C4A=; b=IkK9LdMVvolzV8cRbib+Xcax6kS3POd2Tevidnvi7W6avqjHK75wYq+ufyMcKj74SY KZeo593SaNqR1/N/AmvvupsHtP5PcI/2h3olyCvgxQqhfn5/iObIqjsPbVv/HN871DWe vi6kqJVO2ORVMMwkx3P2nRUrS9PD8vGES8IcxU2C7RuZBfaPFyOzeLS+nAkth2gzTl5I 1MaXjXgcgyB77e+5J6irq3h/AyfecbCbD7+44ReQXnJEZFRzXRKuKV6WbVWhKHrxJ9Gh 3mq6oEdpBYSgDT/UN5K6ovJAHmrNx0xwtyV3FG57ZOJo+zu1E/AOP1AzEofMB6nOQdeT SagQ== Sender: swupdate@googlegroups.com X-Forwarded-Encrypted: i=2; AJvYcCXGTRA+ItswRxkLAVUPYXYksqENqzuPulaA4ITNizuOtB8CLFNKm87wYEFyTyUoeQnXuh+ftx1jxg==@patchwork.ozlabs.org X-Gm-Message-State: AOJu0YzQ6D6S4v+lr4zN4pp+He8lIrYynMtuIhE0S3OcW9ttYdYqhKD0 9YsWnP/1FKP8rQpSUf5/EnHvwrF7vXdG6NrssJrdwWXPDfhy+t4e X-Google-Smtp-Source: AGHT+IGJiv1xuPDk9Lljy6dfyrGIdpCKixmyMDYswJoXEDzETUxzO4VmonmPriDuoYa83YkarN6pvQ== X-Received: by 2002:a05:6402:2696:b0:5cb:ae40:501 with SMTP id 4fb4d7f45d1cf-5cea956f07amr7543932a12.0.1730580124964; Sat, 02 Nov 2024 13:42:04 -0700 (PDT) X-BeenThere: swupdate@googlegroups.com Received: by 2002:a05:6402:758:b0:5ce:aed7:a90 with SMTP id 4fb4d7f45d1cf-5ceaed71222ls611179a12.2.-pod-prod-02-eu; Sat, 02 Nov 2024 13:42:02 -0700 (PDT) X-Received: by 2002:a05:6402:50d0:b0:5ce:cfea:b1f2 with SMTP id 4fb4d7f45d1cf-5cecfeab2edmr1213553a12.1.1730580122057; Sat, 02 Nov 2024 13:42:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1730580122; cv=none; d=google.com; s=arc-20240605; b=ZkjcFXsMYxbhBQoFJTACRp26CJusWQTsawUztlXTcmJk9a8106+3B3XkAKT8GsJgBG QQQPLCGZwyA+cxx9B3xS+ViaOsbSpdkub1KTxtj3EJHMce63u/IjgdWh4CpmOfeWHbqK iCRxoSWfQ3Tcr4XPTBiMiGUmkc+C1Zaw/LrW9HYaVGIaZdl8Lrf/yKOS+qQO8qzUXNuz QhnyNXwByL3/otMvkACTwnXOvs8Eh/YC/ElPY5bya0lZIqNnNmd8rLL5DjEaybyQLYcN B36UCf89THpjZSsELYFTPAHb4a/q8iMkrlayiQt0SZJdaG2/xiai8fpA9sQ3IZBQ5rll pO7w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=ui-outboundreport:content-transfer-encoding:mime-version:message-id :date:subject:cc:to:from:dkim-signature; bh=LNW7/rCZF4eWXcXwxqj+g4b2piyOjjRluYEWDvUUikw=; fh=TiEWcqMcKpHk5s7uErzpntoONrNfOXwKpI5P8bIlggk=; b=A+W1ULt0HWIkubjM2ga1DzMA7q05YEeTZ9rKT8yiXmxdhMggvxYdtWwkao8huUWVic JpkPTUdVR/BMEnZ3/5Tf83yXxjL8yoI/XrW+Za00NIaTfCf6TTLBRE3CKxo5DjNE7FcZ Yt5w7H6ERha0BrBCdyWvxhAqcKdk8QNmbkdGu2Nv69CXXrpsV28P53NPWjk0bcc7E0J1 bP9QTbwO9UfLgX+WNjuuFdK2+5dUt8l3GoM7yeHI22n/ZX6FASYF0Vor9mFPvoiyU+9o 12WboAM1GwoyLofVEWTaadTpewOPie2ZiorQUcMqmTGBRzixL7TJwJIxU8oQ9Z9ZCVfz NBjQ==; dara=google.com ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@swupdate.org header.s=s1-ionos header.b=Zf143bLV; spf=pass (google.com: domain of stefano.babic@swupdate.org designates 212.227.126.135 as permitted sender) smtp.mailfrom=stefano.babic@swupdate.org Received: from mout.kundenserver.de (mout.kundenserver.de. [212.227.126.135]) by gmr-mx.google.com with ESMTPS id 4fb4d7f45d1cf-5cec849c76dsi43538a12.1.2024.11.02.13.42.01 for <swupdate@googlegroups.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 02 Nov 2024 13:42:01 -0700 (PDT) Received-SPF: pass (google.com: domain of stefano.babic@swupdate.org designates 212.227.126.135 as permitted sender) client-ip=212.227.126.135; X-UI-Sender-Class: 55c96926-9e95-11ee-ae09-1f7a4046a0f6 Received: from paperello.fritz.box ([88.217.136.221]) by mrelayeu.kundenserver.de (mreue010 [213.165.67.97]) with ESMTPSA (Nemesis) id 1MNtCi-1tVc3N1uUy-00VQzf; Sat, 02 Nov 2024 21:42:01 +0100 From: Stefano Babic <stefano.babic@swupdate.org> To: swupdate@googlegroups.com Cc: Stefano Babic <stefano.babic@swupdate.org> Subject: [swupdate] [PATCH] Fix warning in server_general Date: Sat, 2 Nov 2024 21:41:59 +0100 Message-ID: <20241102204159.239698-1-stefano.babic@swupdate.org> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:Eq2yxef3FPjRjh/WR86tL3PHPw6AK5iv+tmWP/ZEhxF8dxNi0f4 GYoVAngWpohmSli5eWgEtPgw//isJRPc4GSa8wzzbaFhjRTpIYs18wAvQssugpUs/u62soe ADiYL/YHX6xHKnrOQ+0Izc6LokjNyFZHqUUwJBvCh5DuAh9sncPCUrN0GTdfVe1U75dKKzu 8+mxsd3iXUKDK+IehnpkA== X-Spam-Flag: NO UI-OutboundReport: notjunk:1;M01:P0:YC4gEp8KQbg=;EIAvi/WAS36M4KFJpkNqfsc/6BH whtYUZMuKm3DAmn7fYvriZ8xZb4imBqMRBudogOeJlQrpY+H4JRD8/ZqwOPzaKCQAnttKe2b2 WTtaau/OY6sW8irjYFiIU0S+baUk8dmo+mm75QoKsYmdAZ7tS6OUtx1xz/UmltNrmmqtuWjA+ /dZsAOKz/tpPy8YhDG4NF71qSv7T4xjsAIPUhDz16iSqpfw2jDN86keQyB0G5/CWYwqyxt1Cr jybdy+LUXZrbRa30h3WvbAJQq9vmKPncTzPJ/+5MaoQ270rpRUc/Zil++/HW9w1OR/YWgIix1 uO9SMteDmZ7MQDkOJWdZqiCVFHvglRK6kQsNPcIXj6iT3thaLhSqu09j34FEQ2LvqfpdbpRID sdWMQzqMS8vlUDGFrnV3vEnkx1t1t7HxVzDzqT4ZQtxsd1KoFSTzCr/+VUqLCUkr/G2AZameI TqtIcCPCU0x6NMmuT4AGzAhy67gNrelV3hx/gTVwd7BpalJga7UxFg9kqV/OFPg9j0bnJrOWo a6KhrwKQkTcLw2zdSadUof39H/5MgbWNh3YnyieM5IX6ThYwlMP+4l4d51ZlsxZ2PeizJfYj4 UmsN90ah1je7KsE6g5WVx3XP1jJ/84XVWhfWIeqZJXdCLwEbl1i0opSe0/ccAp0CO3cSHRAU3 xlLCn/LAjGIdGpq+4On40KJYAhl7gRfPyL5fgfA4nvHukdoBPU2oNcEHsE3MwD87WcexBMUtX YG1Q2d6BAAdgXbOZERZXoU0GWGE+89BLA== X-Original-Sender: stefano.babic@swupdate.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@swupdate.org header.s=s1-ionos header.b=Zf143bLV; spf=pass (google.com: domain of stefano.babic@swupdate.org designates 212.227.126.135 as permitted sender) smtp.mailfrom=stefano.babic@swupdate.org Precedence: list Mailing-list: list swupdate@googlegroups.com; contact swupdate+owners@googlegroups.com List-ID: <swupdate.googlegroups.com> X-Spam-Checked-In-Group: swupdate@googlegroups.com X-Google-Group-Id: 605343134186 List-Post: <https://groups.google.com/group/swupdate/post>, <mailto:swupdate@googlegroups.com> List-Help: <https://groups.google.com/support/>, <mailto:swupdate+help@googlegroups.com> List-Archive: <https://groups.google.com/group/swupdate List-Subscribe: <https://groups.google.com/group/swupdate/subscribe>, <mailto:swupdate+subscribe@googlegroups.com> List-Unsubscribe: <mailto:googlegroups-manage+605343134186+unsubscribe@googlegroups.com>, <https://groups.google.com/group/swupdate/subscribe> |
Series |
Fix warning in server_general
|
expand
|
diff --git a/suricatta/server_general.c b/suricatta/server_general.c index db5a60ae..f106bce1 100644 --- a/suricatta/server_general.c +++ b/suricatta/server_general.c @@ -592,7 +592,7 @@ static int server_general_settings(void *elem, void __attribute__ ((__unused__) } GET_FIELD_INT(LIBCFG_PARSER, elem, "polldelay", - &server_general.polling_interval); + (int *)&server_general.polling_interval); channel_settings(elem, &channel_data_defaults);
In file included from suricatta/server_general.c:30: suricatta/server_general.c: In function ‘server_general_settings’: suricatta/server_general.c:595:17: warning: pointer targets in passing argument 4 of ‘get_field_int’ differ in signedness [-Wpointer-sign] 595 | &server_general.polling_interval); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned int * include/parselib.h:100:35: note: in definition of macro ‘GET_FIELD_INT’ 100 | get_field_int(p, e, path, dest) | ^~~~ include/parselib.h:73:80: note: expected ‘int *’ but argument is of type ‘unsigned int *’ Signed-off-by: Stefano Babic <stefano.babic@swupdate.org> --- suricatta/server_general.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.43.0