Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1gCtLr-0006Dd-Jh for pgsql-hackers@arkaria.postgresql.org; Wed, 17 Oct 2018 21:27:35 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gCtLq-00021w-2b for pgsql-hackers@arkaria.postgresql.org; Wed, 17 Oct 2018 21:27:34 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1gCtLp-00021p-OG for pgsql-hackers@lists.postgresql.org; Wed, 17 Oct 2018 21:27:33 +0000 Received: from mail-qt1-x82b.google.com ([2607:f8b0:4864:20::82b]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gCtLZ-0005Uj-0f for pgsql-hackers@postgresql.org; Wed, 17 Oct 2018 21:27:32 +0000 Received: by mail-qt1-x82b.google.com with SMTP id e10-v6so31886071qtq.12 for ; Wed, 17 Oct 2018 14:27:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=2ndquadrant-com.20150623.gappssmtp.com; s=20150623; h=from:to:subject:message-id:date:user-agent:mime-version :content-transfer-encoding:content-language; bh=yPcYAugoTS8rG0ni4HQWUK4iWNtFfESkHHjZvg+WPlQ=; b=XMxrqVhcHLKi+nhM8O16rOXdXPmfeIEZnrNVKX6ucRe6C5eHZVT12TyFowEs1qzaE7 Tn0GrJkM1IkczX36TJm6sy2N/DmkchUehcwAyuFMDmHxrmUfeHp/9nZooTpNMcwFJ6eD VmqaiBPCOM/HG4kfH7pHUZX6ZA/gRnuaRBDWdlJEcNK/x7FDsJ7Ar2vhziv+Rv7IdEHo FAcMc9MqExJKhPD3YqBhuNiiQJOuPV4ZhZpxNM+KWjaVzBctGkEuti4qVkrSj/jLdDGL VaV/Ic6VstOuo0Il4gGtenow59vpgdxmrOvWcgmE8pidtuWrpx3NBlQrNP+x8DEoINee 8cOw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:message-id:date:user-agent :mime-version:content-transfer-encoding:content-language; bh=yPcYAugoTS8rG0ni4HQWUK4iWNtFfESkHHjZvg+WPlQ=; b=AXmZ7pF133nOgELBatNnHJ7eOp/M7syZu+ZUsIl3u50qWJ/mz7U6cyzRwp5gVF4sRx WFKZe9ZWUwcX7iYWM8VKa4YhSnBvncemcBksD02bPskqnjXDCC7HHzi2dKtxnMP5asef FKFzuYRmNsMyoCS0AA2tjvIp262Y7zjBh4g7NgM1EEvV7CZfbrZd38fv5Ei4KqfMXTwO 7VJTia+0ROi05lQFiJyu1J2JDPM1w1KiouNrMWgKKIDDqj74M21ZhTnBzNPb0UugXYWz AMb3Dn3F8j3N9iGAf6DqxJULAsrvvIaCYaAbHf6t7SP4wgIP3/V6vpAryes2wgxsgPzc xfUQ== X-Gm-Message-State: ABuFfojMPzewkmy+ANuRm+oZ8VcMd6M2lOJxSUmSxdMf618FPkT4y1bz RQjjNrKLbYSvKvqTU6EPb8I5sI6Zc9HZz81infQc/Aged66arahu2fUf5wTj4uqcqa7szI+Jwd7 x42hwmArEuhB+v6LCaYaTMGbT3wiSqCMQ8TkAPtXV+bNlnhU7Kplymupzh+xTtFylHOtYmNLU7P 9aVWfMi/ta1JZE X-Google-Smtp-Source: ACcGV60MrZu5vFTl4Ff/0L23JDZsituwNi2dZKnZsV02rgmZdA3H0vlNbD9ae89tVYulXO4kungV2g== X-Received: by 2002:a0c:b03b:: with SMTP id k56mr18075767qvc.104.1539811635579; Wed, 17 Oct 2018 14:27:15 -0700 (PDT) Received: from [192.168.10.146] ([98.122.175.38]) by smtp.gmail.com with ESMTPSA id y124-v6sm10833573qke.22.2018.10.17.14.27.14 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 17 Oct 2018 14:27:15 -0700 (PDT) From: Andrew Dunstan X-Google-Original-From: Andrew Dunstan To: PostgreSQL-development Subject: MSVC compilers complain about snprintf Message-ID: <05f348de-0c79-d88d-69b7-434ef828bd4d@2ndQuadrant.com> Date: Wed, 17 Oct 2018 17:27:14 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-MW List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk The MSVC compilers are whingeing about recent changes in snprintf.c: src\port\snprintf.c(1051): warning C4146: unary minus operator applied to unsigned type, result still unsigned The line in question reads: uvalue = -(unsigned long long) value; cheers andrew -- Andrew Dunstan https://www.2ndQuadrant.com PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services