<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>LPCXpresso IDEのトピックRe: large integer implicitly truncated to unsigned type</title>
    <link>https://community.nxp.com/t5/LPCXpresso-IDE/large-integer-implicitly-truncated-to-unsigned-type/m-p/575970#M22552</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by JulianCox on Mon Apr 25 09:07:25 MST 2016&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for the help. Yes, I am using LPCOpen with the LPC824. I changed the declaration in the function parameter list and the warning has gone away.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 23:53:53 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T23:53:53Z</dc:date>
    <item>
      <title>large integer implicitly truncated to unsigned type</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/large-integer-implicitly-truncated-to-unsigned-type/m-p/575967#M22549</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by JulianCox on Fri Apr 22 10:19:31 MST 2016&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I have the following declaration in my program: -&lt;/SPAN&gt;&lt;BR /&gt;&lt;I&gt;#define PORT_MASK&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x100E1011UL&lt;/I&gt;&lt;BR /&gt;&lt;SPAN&gt;but when I compile it I get the warning: -&lt;/SPAN&gt;&lt;BR /&gt;&lt;I&gt;../example/src/gpio.c:42:25: warning: large integer implicitly truncated to unsigned type [-Woverflow]&lt;/I&gt;&lt;BR /&gt;&lt;SPAN&gt;I thought that UL declared a variable as Long and unsigned. Why do I get this warning?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 23:53:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/large-integer-implicitly-truncated-to-unsigned-type/m-p/575967#M22549</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T23:53:51Z</dc:date>
    </item>
    <item>
      <title>Re: large integer implicitly truncated to unsigned type</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/large-integer-implicitly-truncated-to-unsigned-type/m-p/575968#M22550</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by vtw.433e on Fri Apr 22 10:27:21 MST 2016&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;There is nothing's no wrong with your #define, and the compiler is not complaining about it. You will have to show us how you are using it (I.e. The line causing the error) for us to be able to help you.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 23:53:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/large-integer-implicitly-truncated-to-unsigned-type/m-p/575968#M22550</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T23:53:52Z</dc:date>
    </item>
    <item>
      <title>Re: large integer implicitly truncated to unsigned type</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/large-integer-implicitly-truncated-to-unsigned-type/m-p/575969#M22551</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by DF9DQ on Fri Apr 22 10:27:39 MST 2016&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Are you using this with LPCOpen for LPC800?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The error occurs when the constant is used as a parameter to Chip_GPIO_SetPortDIROutput() (some others have the same mistake). The "mask" parameter there is declared as uint8_t while it should in fact be uint32_t.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 23:53:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/large-integer-implicitly-truncated-to-unsigned-type/m-p/575969#M22551</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T23:53:53Z</dc:date>
    </item>
    <item>
      <title>Re: large integer implicitly truncated to unsigned type</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/large-integer-implicitly-truncated-to-unsigned-type/m-p/575970#M22552</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by JulianCox on Mon Apr 25 09:07:25 MST 2016&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for the help. Yes, I am using LPCOpen with the LPC824. I changed the declaration in the function parameter list and the warning has gone away.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 23:53:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/large-integer-implicitly-truncated-to-unsigned-type/m-p/575970#M22552</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T23:53:53Z</dc:date>
    </item>
    <item>
      <title>Re: large integer implicitly truncated to unsigned type</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/large-integer-implicitly-truncated-to-unsigned-type/m-p/575971#M22553</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;bump&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 19 Jun 2016 01:08:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/large-integer-implicitly-truncated-to-unsigned-type/m-p/575971#M22553</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-19T01:08:59Z</dc:date>
    </item>
  </channel>
</rss>

