Mailing List Archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [tlug] Assembly Language v C and Embedded Development: !gcc for PIC16F84



On 10 March 2011 16:37, Nicolas Limare <nicolas+tlug@example.com> wrote:

>> : josh@example.com; cat tmp/arithmetic.c
>> int multiply(const int multiplier) {
>>   int multiplicand = 12;
>>   return multiplicand * multiplicand;
>                          ^^^^^^^^^^^^
>
> error, should be
>
>   return multiplicand * multiplier;

Oops! Good catch. Obviously I need to submit my list postings to a
code reviewer before sending them. ;)

--Josh


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links