From patchwork Fri Jul 12 15:22:45 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christian Eggers X-Patchwork-Id: 1959933 Return-Path: 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=MI1+HPjQ; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=googlegroups.com (client-ip=2607:f8b0:4864:20::d3c; helo=mail-io1-xd3c.google.com; envelope-from=swupdate+bncbdk7hq7yrekrb44uyw2amgqee55nv5a@googlegroups.com; receiver=patchwork.ozlabs.org) Received: from mail-io1-xd3c.google.com (mail-io1-xd3c.google.com [IPv6:2607:f8b0:4864:20::d3c]) (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 4WLFjg281kz1xqy for ; Sat, 13 Jul 2024 01:23:35 +1000 (AEST) Received: by mail-io1-xd3c.google.com with SMTP id ca18e2360f4ac-803bafb0b2esf225868139f.0 for ; Fri, 12 Jul 2024 08:23:35 -0700 (PDT) ARC-Seal: i=3; a=rsa-sha256; t=1720797812; cv=pass; d=google.com; s=arc-20160816; b=FJqQUrdZWb+u8ko5/Rv7p+XvNhVlYbQKn1NTDQE6AvekttdMTxJ48fSyzce4lpuxPN 59fKxfZ+liGObjOC6LKNF/tgurfk+VRk3xZO3BZmigdoo4h4V0/BQI3rw4tt1ykpVokj EQ3yhnvZdnuS9RAWCWLh2ADz+XTy9UaQW1tF2CRpR1Hvwh4oS1KPD7wRGdxjj6n5brpp ZlsluzyM+ACVoqgEmHwNsa74brGm+mRjWpk0LcC0vBRUO0Q2PzsOhkdj0VrfS6Zqs7qW MFuq3YeH2BD+YeULOdBBzGQ43AY5+ADlCajaFAg6I/89ileamdkgnTjnfPRz/D6beCQV p7zA== ARC-Message-Signature: i=3; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:sender:dkim-signature; bh=se332SF58WnAuJALMcOkhVDjTi5kE6pXuOd/EMrPYTk=; fh=KEDkp2ML6y5sNe4QNXNwJ4l6x0pLxbVs7sx4Vl6iDbk=; b=KYW7crjE0oXJwar/B8qteEUwWsYwrA6UMfpzglO/y31v478zH3ONIGbK2/l02krvn/ AnMvTGR0vJeZCSEbjO57JPMJsdqe6sbfr1j4ydjq0lkZ9vfVKArxaNA/PUa8MsQxIaNx 1j8zQIIra2+gS99pvYgzDj4A8chgkvH11gcUMBdk2C+v7wxh7JZ1mY0KFI2oLN/pTVfz Fg9zoIaEXkaawcs1sJaXfw6UGvQSY6CV94jHRJBoCh0ol0qP1HWCCUnNHP97MxQYLMF4 ROW7AsFtPmhemG0Z4D2RRX6s58zGJDWpk/LPpUxLqdutovs253IFLKNoDnU+HAQKIx7t axDw==; darn=patchwork.ozlabs.org ARC-Authentication-Results: i=3; gmr-mx.google.com; dkim=pass header.i=@arri.de header.s=selector1 header.b=hWFivHQP; arc=pass (i=1); spf=pass (google.com: domain of ceggers@arri.de designates 2a01:111:f403:260c::621 as permitted sender) smtp.mailfrom=CEggers@arri.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=arri.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20230601; t=1720797812; x=1721402612; 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:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:sender:from:to:cc:subject:date:message-id :reply-to; bh=se332SF58WnAuJALMcOkhVDjTi5kE6pXuOd/EMrPYTk=; b=MI1+HPjQi6gBAXITftuaeuHBaN7iUCqpj4X2kCyKOanMh73vnZMX9gq3eykMwJgGV4 5ERHj+yYTqOd6l1YNK7o9y74/RFQ9GG5tzBjFjT34QUJL7hHQTVW7D017r7WRTr0cTRk EUr0rdpO7pTnkQqxut2+Lsc0vxXZpli8z+Hyj1uhUFv9iuOtKPlqFaSs7anw1YNZnnM2 bmVH6kYsi5UKXclaYtukb9u8ZJLuX9/5mBZbS106nFin2XpSkJLS4MdDL6aSq9u54tsp F1TGoSmOuLN1XkN3HmRN87sgkyojz3SWnHo+oiFOr7enVoAMoH8JYeZ04dLU+4O6QOZh V4KQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1720797812; x=1721402612; 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:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :x-beenthere:x-gm-message-state:sender:from:to:cc:subject:date :message-id:reply-to; bh=se332SF58WnAuJALMcOkhVDjTi5kE6pXuOd/EMrPYTk=; b=QojWmOgjTCJlEtP7UmrPftSXM3nUZe2a69XNpYnRS+/vJXWBFynfpIFbAuERnKZbw7 vVbek7ScVRQa/058X9x2A2irRtfgE0GZMQjWg57ug4kLDGyChWKY3IqlQpR+NmX1UD+a Xv9tXX4rYLCgm/A3FzF3vLgGOW37VAFX+Bs4BmlTG8yTEAuGNKrFnZqP2hfxQS3CJchk ecxQvNFhjm3V27OLOM36jI6XBbd7PnRv2XkQlqNUIHU015q+koeGLZVsyE55pWH3W16x IAr7NDdXlPnL9VsLzPwmejLfRsXnJW33aG0ctKXP4/5MRct8kqZf8oIpXGbX0lU+6Fgf mzMA== Sender: swupdate@googlegroups.com X-Forwarded-Encrypted: i=3; AJvYcCXaw+k1fsiRpHs6gEuMJXjsp/zE1fEJEavOB0tQ9N3ZBmRLJQOFFjIUyOXmVQa9mnh2IgNH0mmyI1AUkyFKDR6R5WyjZgEio6zQY0EvMA== X-Gm-Message-State: AOJu0YxgVo71golcwtvMHZqWV2BGs04js9wjdKqJ7MrXrA4KDvubxlmG ILs8UN3oBnei5+aJ3PpaH/iRlzwAf39FBfZ4D0rjQeoIGk39TqoY X-Google-Smtp-Source: AGHT+IEQcwyFZHnTAYKCEPqnQ/jVXIUjlt64B1uP3zCNdMeg4nBxRxro/7zy1gM9OJbQM0QKjy9jxA== X-Received: by 2002:a05:6e02:188b:b0:375:8fa1:529a with SMTP id e9e14a558f8ab-38a57401adbmr155460465ab.10.1720797811881; Fri, 12 Jul 2024 08:23:31 -0700 (PDT) X-BeenThere: swupdate@googlegroups.com Received: by 2002:a05:6e02:1d95:b0:375:a4ed:3509 with SMTP id e9e14a558f8ab-38d2266e3eals17129025ab.2.-pod-prod-03-us; Fri, 12 Jul 2024 08:23:30 -0700 (PDT) X-Received: by 2002:a05:6e02:170c:b0:376:2934:f570 with SMTP id e9e14a558f8ab-38a5740191fmr147478895ab.9.1720797810613; Fri, 12 Jul 2024 08:23:30 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1720797810; cv=pass; d=google.com; s=arc-20160816; b=iNZ9URVm1r4W0chXvvdYe3yCi2m0D2wcNK4/21BwcXHV2FaPTeVFsGv3MOEUn8pCrN aN7Hv0FZk/FDFv9P6L9YxOHwMyp0Dm/mTmKB4StUFDlXfG/E2PEBskKhJBqewX0YAoTZ S2Q02YkCjikjVcnfnWn5XLEY728z+ySQUDSi0RZubmKdK28MPQ+e4dleAQP4Wd7Or7s1 gS/pI40sSjf75mR1MhJZRUqQCY9nd8n9kMuH6QqPqFkeiaWWLV0xCqjanlni4q7X9HRp wJp63RZrb78PA1rfWNnmuXl36M59IGf1zhWzxkRVH2uLHP0kn/waKIn//76sgtZlnqj0 dVKg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=K7526JUEoSfhOFoxfBvUAK5OsTBfo+j3eMla4gxjShM=; fh=Zaas7zo9QAZR51NXyZEDKjGEOyAL/jH6m/nrwgSdorI=; b=V61R9FJ3B8Lp2PF2pVAJDyea1cu83VxDP3mS7wq+6jP5RteHIEIkl3sTxc4kz3UfFp RAVRI/gq8zYsXhHJwytgabWZ5l3cOZOW72/KxiIEfyg93z1D3Zqx40TLo+w8O2zXHZxJ JK+RKht7pOt9J1tVbMzcMdoYzskI/wC7OeRicUgS9Mzb8WnYZn1/WsfXWbkjR2Frby0D o698HL/4IOzwidnhKWtKgFAjtyDPyAmy791nExEZp3ZnrfXLAdjMR6k8ksbjgSfw170X eo6EhaxopXyez3bn2OnhAzVarFo3nre9J7nB29g3y8ptmrFABEzTpise5pkq8RrQf6La UkLA==; dara=google.com ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@arri.de header.s=selector1 header.b=hWFivHQP; arc=pass (i=1); spf=pass (google.com: domain of ceggers@arri.de designates 2a01:111:f403:260c::621 as permitted sender) smtp.mailfrom=CEggers@arri.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=arri.de Received: from EUR03-VI1-obe.outbound.protection.outlook.com (mail-vi1eur03on20621.outbound.protection.outlook.com. [2a01:111:f403:260c::621]) by gmr-mx.google.com with ESMTPS id e9e14a558f8ab-38a49265fd0si3555785ab.2.2024.07.12.08.23.29 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 12 Jul 2024 08:23:29 -0700 (PDT) Received-SPF: pass (google.com: domain of ceggers@arri.de designates 2a01:111:f403:260c::621 as permitted sender) client-ip=2a01:111:f403:260c::621; ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=KDlM2ns1qkS4+fX9PX2k3DtbBIFHLA4vtWCGKhtqlQdLOKp/eM6H6tpMNrqtuMgXV+QTCkMtU2KBQ2endsd+DgyEgSdTazJ581HSozKcazXXuItbWKmMKIOhYaTsdTmzHwaA3wrmYG9W/APlIh6A7cUUouQKyx2TA/+H5ZyGZTTj3NEXyAkAYNMgrxQr7OnY3+CAxfgpzNF6KFP6wvKDs6TyvDhDzkcdF9c5Kq7bShj6uGFVbWk1nc1w01Qs2VZvJKdiR2nVyqrUif0cfwtZ+GBVPx78XhjjzGOcDIPOuFay47+hXOcl/MxkAVntgR4lcIFgZvm8gnIcuSkdXL+5vw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=K7526JUEoSfhOFoxfBvUAK5OsTBfo+j3eMla4gxjShM=; b=NBzkUhOSHxWDyTPzaKKONyHuIYh5HdrMOhO1tbRa8rZ/a3KRT4StPccKhUwuwoHn4elOxu+P8SP5W8+3jMlN4S2aq0r2+gz3zbdJNJPXaIv6Qb2T1ymICIEGEpGjZH3IfhqQcNHg8JdRzgiJwI17DoRxlhIDXHI0in5XhK+fKahFNvkPGKStA2QV9pUj3a663KsFlLfUx8Hr10gh0QG+KLRgLgT2FOF52hWAPCNsVQAuELOiiTSIXeiEDEUO5mDF7ZbYdVJDkiyvCSIsF/NdmV0Wl0wCD7hStXXov5minTLJR/uTitVcIbQ1VrbdoGF6rLjFuKxeUmUG6rnp1l/VRA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=fail (sender ip is 217.111.95.7) smtp.rcpttodomain=googlegroups.com smtp.mailfrom=arri.de; dmarc=fail (p=none sp=none pct=100) action=none header.from=arri.de; dkim=none (message not signed); arc=none (0) Received: from DU6P191CA0065.EURP191.PROD.OUTLOOK.COM (2603:10a6:10:53e::27) by DU0PR07MB8417.eurprd07.prod.outlook.com (2603:10a6:10:351::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7762.19; Fri, 12 Jul 2024 15:23:26 +0000 Received: from DB5PEPF00014B93.eurprd02.prod.outlook.com (2603:10a6:10:53e:cafe::9a) by DU6P191CA0065.outlook.office365.com (2603:10a6:10:53e::27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7762.23 via Frontend Transport; Fri, 12 Jul 2024 15:23:26 +0000 X-MS-Exchange-Authentication-Results: spf=fail (sender IP is 217.111.95.7) smtp.mailfrom=arri.de; dkim=none (message not signed) header.d=none;dmarc=fail action=none header.from=arri.de; Received-SPF: Fail (protection.outlook.com: domain of arri.de does not designate 217.111.95.7 as permitted sender) receiver=protection.outlook.com; client-ip=217.111.95.7; helo=mta.arri.de; Received: from mta.arri.de (217.111.95.7) by DB5PEPF00014B93.mail.protection.outlook.com (10.167.8.231) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7762.17 via Frontend Transport; Fri, 12 Jul 2024 15:23:26 +0000 Received: from N9W6SW14.arri.de (192.168.54.130) by mta.arri.de (10.10.18.5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1258.34; Fri, 12 Jul 2024 17:23:25 +0200 From: Christian Eggers To: CC: Christian Eggers Subject: [swupdate] [PATCH v2 02/10] parser: field_type_t::TYPE_FLOAT: rename to TYPE_DOUBLE Date: Fri, 12 Jul 2024 17:22:45 +0200 Message-ID: <20240712152253.3702-3-ceggers@arri.de> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240712152253.3702-1-ceggers@arri.de> References: <20240712152253.3702-1-ceggers@arri.de> MIME-Version: 1.0 X-Originating-IP: [192.168.54.130] X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DB5PEPF00014B93:EE_|DU0PR07MB8417:EE_ X-MS-Office365-Filtering-Correlation-Id: 0e5de9a8-d0dd-4355-df7f-08dca2869362 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|376014|1800799024|36860700013|82310400026; X-Microsoft-Antispam-Message-Info: L0zksdMXJVVMeKxmqwJNU7vqHkPofh9i8ojWMCtGJxYr13E9OTmeGxeIucPU/y6nmv9Lwn7fRvVyogohlUkC00Iz/+mDPe1pfbkkXEBcCjqTHZQFVHT5CxS2yHJDqus6poDEhPMGxjNid3q4lwSfUq9L3M/fkafR6easBXCmlpKYT9h88KWrhuBqFapGViTAUkwU66boLt12QIkmWrFTz9re7dEO5QLoxjOgmVeLSOQXOWDZjF8DfJy7YCXVKcszO+puRZQ2eQXruA5Cy3q089E9mE3NFntwa8UCnTRrerXE6+xfTaBG3z8DhnFHudXybzQHqqfCfv4ky/kqMM0LIC4OnkRLMhEcmCJa0s/Ajn2Z/zC6f8txXibwBeApdskvx1DTPjiC2m2RZqIW34pcGcdE8wwdVRDvrg+iV9VoAQrsMJ7FbodRrc2LR+cXWw1nu9oLrk6WvR7q/aDAiGE2pHeISm4q9W/5oURKbsT3lcaqJsWWGpGxFa0F4agnYywrdHUUqMN5FHTfLoQKGXLMyBxoRGzT0Ggii6Wq6YaS7Ulx04NbC9VtmiXpClBbpjgXbI4jKCsiJjWZJneZMV5HasSo7xFgqiRRoNyZUd6gMeFKUAsh9oGluGJHhC1jtuSjqWDqN03bCmnhddHFHRljUZvklNb6UtUiiDJb+iKxMp0Q9GZr5umC0bCTei5IEeahGINmd5gQ/jJr08v/AlaRKJbwhAeJ/qT2I4Aa/20hzZs/OGkrFqpePxcZzCOdc4mzdrVRuEiSjggS4gb0KtBQCKokr5b3wpOg5zau5J0oCcY4aygAK+FKEemprCZ06BbR9aNCb9nhX7dynsmzAsNT1WYsTltsryMrBr4A4zNqhT07cxszrQhW1wt5WdgsSbZXiBGPT54J0Zc6UOe/wxtU8uGzwK+52Toptye03ORMS+S4Op2p63xmHe/CgLQ2N2FBHS2vgU1meSDNIquOs0ga+geHCd0Xifelxy5azm77BuLXoRAGPQQ4PYjlGWJa1fHHtonrqUicPpRJhti8oLjzyvOAz4l6yCRP+8LLkr6EzFh8FNoiUWd4RQrxfasZajCZtwUdgHLNFyb6uAJSQfAFM0AAnkXgPbIOn5JC3fq0X5w6dlvW9MsntSV1rRhfZxwRwuqeBPWVzVHGxNrAv+RAGHnjWVSCoW3XXe9lN0ZADz3DiHX8YsosLWrejbTsxac4tfT+QuU2nMUahGymCBKJLjhN6nQjxVu8AcDGM1cTvQBiDnZ1Me76TwUNaF6rM7YtDHT2Aa1icbgQR5S7YDUvXsdoBY+csz/buvHwrx0CMX2YWYkyL0L+rZQ6hQzWCVsgCLXAScjeNc1PrNrR3XrVcylRblqLaIOqNGV7xGXwcJEBurVbMooQj+yQFuIOP5zMUMS4JXRoUdUGomwc9qvjqhCl/QVQQ2NYAI17dK5CE3S6+z+HgqqZ6vulOJE400pl X-Forefront-Antispam-Report: CIP:217.111.95.7;CTRY:DE;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:mta.arri.de;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230040)(376014)(1800799024)(36860700013)(82310400026);DIR:OUT;SFP:1101; X-OriginatorOrg: arri.de X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Jul 2024 15:23:26.1190 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 0e5de9a8-d0dd-4355-df7f-08dca2869362 X-MS-Exchange-CrossTenant-Id: e6a73a5a-614d-4c51-b3e3-53b660a9433a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=e6a73a5a-614d-4c51-b3e3-53b660a9433a;Ip=[217.111.95.7];Helo=[mta.arri.de] X-MS-Exchange-CrossTenant-AuthSource: DB5PEPF00014B93.eurprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DU0PR07MB8417 X-Original-Sender: ceggers@arri.de X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@arri.de header.s=selector1 header.b=hWFivHQP; arc=pass (i=1); spf=pass (google.com: domain of ceggers@arri.de designates 2a01:111:f403:260c::621 as permitted sender) smtp.mailfrom=CEggers@arri.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=arri.de Precedence: list Mailing-list: list swupdate@googlegroups.com; contact swupdate+owners@googlegroups.com List-ID: X-Spam-Checked-In-Group: swupdate@googlegroups.com X-Google-Group-Id: 605343134186 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , The libconfig/libjson adapters use "casts to double pointer" in this case, so lets name it DOUBLE rather than FLOAT. Signed-off-by: Christian Eggers Acked-by: Stefano Babic --- corelib/parsing_library_libconfig.c | 2 +- corelib/parsing_library_libjson.c | 2 +- include/parselib.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/corelib/parsing_library_libconfig.c b/corelib/parsing_library_libconfig.c index a3535e9ec0e4..ea4b03a476f5 100644 --- a/corelib/parsing_library_libconfig.c +++ b/corelib/parsing_library_libconfig.c @@ -29,7 +29,7 @@ static unsigned int map_field_type(field_type_t type) return CONFIG_TYPE_INT64; case TYPE_BOOL: return CONFIG_TYPE_BOOL; - case TYPE_FLOAT: + case TYPE_DOUBLE: return CONFIG_TYPE_FLOAT; default: /* not supported in SWUpdate */ return CONFIG_TYPE_NONE; diff --git a/corelib/parsing_library_libjson.c b/corelib/parsing_library_libjson.c index 86646676d419..187e4eadcc16 100644 --- a/corelib/parsing_library_libjson.c +++ b/corelib/parsing_library_libjson.c @@ -30,7 +30,7 @@ static json_type map_field_type(field_type_t type) return json_type_int; case TYPE_BOOL: return json_type_boolean; - case TYPE_FLOAT: + case TYPE_DOUBLE: return json_type_double; default: /* not supported in SWUpdate */ return json_type_null; diff --git a/include/parselib.h b/include/parselib.h index b0142ff26840..4a8717e0aad2 100644 --- a/include/parselib.h +++ b/include/parselib.h @@ -28,7 +28,7 @@ typedef enum { TYPE_INT, TYPE_INT64, TYPE_BOOL, - TYPE_FLOAT + TYPE_DOUBLE } field_type_t; typedef void (*iterate_callback)(const char *name, const char *value,