Message ID | 20240614171534.2172-1-kolerov93@gmail.com |
---|---|
State | Accepted |
Headers | show
Return-Path: <devel-bounces@uclibc-ng.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=JLzNHH7W; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=uclibc-ng.org (client-ip=2a00:1828:2000:679::23; helo=helium.openadk.org; envelope-from=devel-bounces@uclibc-ng.org; receiver=patchwork.ozlabs.org) Received: from helium.openadk.org (helium.openadk.org [IPv6:2a00:1828:2000:679::23]) (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 4W15Yp6vRrz20Pb for <incoming@patchwork.ozlabs.org>; Sat, 15 Jun 2024 03:17:16 +1000 (AEST) Received: from helium.openadk.org (localhost [IPv6:::1]) by helium.openadk.org (Postfix) with ESMTP id 37771353F7F8; Fri, 14 Jun 2024 19:16:59 +0200 (CEST) Authentication-Results: helium.openadk.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=JLzNHH7W; dkim-atps=neutral Received: from mail-lj1-f174.google.com (mail-lj1-f174.google.com [209.85.208.174]) by helium.openadk.org (Postfix) with ESMTPS id EEAFB353F012 for <devel@uclibc-ng.org>; Fri, 14 Jun 2024 19:15:50 +0200 (CEST) Received: by mail-lj1-f174.google.com with SMTP id 38308e7fff4ca-2e95a75a90eso25083211fa.2 for <devel@uclibc-ng.org>; Fri, 14 Jun 2024 10:15:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1718385349; x=1718990149; darn=uclibc-ng.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=yPiMRi1zOW3DQwLtXJwGho3IAeDik6GP7uNoARwKfbg=; b=JLzNHH7WiLmg6fmMa4JcNlAysCkBk1e3EY6V1hoJNXihPxY+hrzxnFCUeI3JjEhuCe dbGF7swQdyIhIZ8bijViiQASvSCD1RCx6nBwsUNTHpwR+QiluD6dta5UPHzGGhmoNSm4 5PiFo+3UeYacyje1Yn9jdfFgojwEyOsRHoed0/CXfx21QXMq+t3p2/hY+lTrrBrQIWnx 1QZY0yiPeEU+IIdUg0Dv3AL1mUVH26Tgc9tirhnCLGGhxL+2tFh2DIlYpuR+jmrcvbix 6pI65leEHhS/CXg1bhzbr1a/3atd84fP79HP+sTftQMSkXJ+q5oMIjGstXai4g4wsny4 1ecA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718385349; x=1718990149; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=yPiMRi1zOW3DQwLtXJwGho3IAeDik6GP7uNoARwKfbg=; b=D+J6NImVvc1ajjUe0b2aj8jNKJjYeO4Q26uINRrzTSgv43IAugYqfgDOQzh5hd6Tue S48vhUbzVZQ9YA6xyoniZ5ZVSJHPtpr78Rf/Bs8WixBDwtfelTY9UremMhavCNKi7MBG Q2KQfOQdnqmX6Fu8AuN4UgO1EhMTncfVDoHjQfQr/LBJpzpZ5tWFXMggtSAWDZPs/SCQ kToJqI3ChkJYiULa1exrCUSbz92d6WQ3og7e/yZJg8Q3KaV+RqW8Sd/GUAaUwVnR6thx jh6rOB3Jt8rsyUo7t04RODKAb6O7DaIVqOadM3QwHvWNeIPe1YCw5JETg+ZKMP8eX3N7 46+A== X-Gm-Message-State: AOJu0YzZStjbRM2Ss28KsJIdAeGg9wh0A4PyNgJMxlv4GJxJkSGy4WJ/ F0ZfqXE1ORcFka2/VAcprBJ1WmXiV0NhZqcx4Wx6ASh4mNKGafpoHYvWlEAHjJw= X-Google-Smtp-Source: AGHT+IEE5Sw8weHGl4mELeeBsU70bzE6WnF+ICjwB76YLBrSVG8z2lZr4y8cPIBC9Yr91WxwnF6jLA== X-Received: by 2002:a2e:b162:0:b0:2eb:d816:7a67 with SMTP id 38308e7fff4ca-2ec0e5c6549mr20861651fa.16.1718385349157; Fri, 14 Jun 2024 10:15:49 -0700 (PDT) Received: from raspberrypi.lan ([2a0d:6fc2:41b0:1100:7263:d687:425e:cf5f]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-3607509c9absm4995832f8f.46.2024.06.14.10.15.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 14 Jun 2024 10:15:48 -0700 (PDT) From: kolerov93@gmail.com To: devel@uclibc-ng.org Date: Fri, 14 Jun 2024 18:15:34 +0100 Message-Id: <20240614171534.2172-1-kolerov93@gmail.com> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 Message-ID-Hash: 4EJ6UQZTTNOMKOK7BB63SM6D5JM33A3L X-Message-ID-Hash: 4EJ6UQZTTNOMKOK7BB63SM6D5JM33A3L X-MailFrom: kolerov93@gmail.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: Yuriy Kolerov <ykolerov@synopsys.com> X-Mailman-Version: 3.3.3 Precedence: list Subject: [uclibc-ng-devel] [PATCH] libc: cast free() argument to void * in wchar.c List-Id: uClibc-ng Development <devel.uclibc-ng.org> Archived-At: <https://uclibc-ng.org/mailman3/hyperkitty/list/devel@uclibc-ng.org/message/4EJ6UQZTTNOMKOK7BB63SM6D5JM33A3L/> List-Archive: <https://uclibc-ng.org/mailman3/hyperkitty/list/devel@uclibc-ng.org/> List-Help: <mailto:devel-request@uclibc-ng.org?subject=help> List-Owner: <mailto:devel-owner@uclibc-ng.org> List-Post: <mailto:devel@uclibc-ng.org> List-Subscribe: <mailto:devel-join@uclibc-ng.org> List-Unsubscribe: <mailto:devel-leave@uclibc-ng.org> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit |
Series |
[uclibc-ng-devel] libc: cast free() argument to void * in wchar.c
|
expand
|
diff --git a/libc/misc/wchar/wchar.c b/libc/misc/wchar/wchar.c index 2714d47d7..782b67f93 100644 --- a/libc/misc/wchar/wchar.c +++ b/libc/misc/wchar/wchar.c @@ -1298,7 +1298,7 @@ iconv_t weak_function iconv_open(const char *tocode, const char *fromcode) int weak_function iconv_close(iconv_t cd) { - free(cd); + free((void *) cd); return 0; }