From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by sourceware.org (Postfix) with ESMTPS id 3624D385773F for ; Tue, 11 Jul 2023 09:38:38 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 3624D385773F Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=redhat.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1689068317; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type; bh=hAZ3+l4aqo6tRRFvK6jqrFNLRFZObf2T3ZHeRo7uwRo=; b=SA2srP4Fo8KK0lzDbTN14ovvI1SpNciHD4AIEJhihHykbmo42tYzANNnHBUHbvQyzSlWMO W3JKU+joutqhmopoaCGxGVcEq9Ei7xayZM+wYczRFZ0xFmUfX5TiXq6zR+yHO1SwAfuvFC q6/PeRx2lvf8T7uGSabeiBqPWyaJ33w= Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-522-C7s0iTKZOoCEWA-ayp5hDA-1; Tue, 11 Jul 2023 05:38:36 -0400 X-MC-Unique: C7s0iTKZOoCEWA-ayp5hDA-1 Received: from smtp.corp.redhat.com (int-mx10.intmail.prod.int.rdu2.redhat.com [10.11.54.10]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 631C33C025C5 for ; Tue, 11 Jul 2023 09:38:36 +0000 (UTC) Received: from oldenburg.str.redhat.com (unknown [10.2.16.46]) by smtp.corp.redhat.com (Postfix) with ESMTPS id BE2064CD0C6 for ; Tue, 11 Jul 2023 09:38:35 +0000 (UTC) From: Florian Weimer To: gcc-patches@gcc.gnu.org Subject: [PATCH] csky: Fix -Wincompatible-pointer-types warning during libgcc build Date: Tue, 11 Jul 2023 11:38:34 +0200 Message-ID: <87v8eqdbz9.fsf@oldenburg.str.redhat.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.10 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain X-Spam-Status: No, score=-10.9 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,GIT_PATCH_0,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_NONE,TXREP,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: libgcc/ * config/csky/linux-unwind.h (csky_fallback_frame_state): Add missing cast. --- libgcc/config/csky/linux-unwind.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libgcc/config/csky/linux-unwind.h b/libgcc/config/csky/linux-unwind.h index 66b2a44e047..1acef215974 100644 --- a/libgcc/config/csky/linux-unwind.h +++ b/libgcc/config/csky/linux-unwind.h @@ -75,7 +75,7 @@ csky_fallback_frame_state (struct _Unwind_Context *context, siginfo_t info; ucontext_t uc; } *_rt = context->cfa; - sc = &(_rt->uc.uc_mcontext); + sc = (struct sigcontext *) &(_rt->uc.uc_mcontext); } else return _URC_END_OF_STACK;