~zorba-coders/zorba/bug-957580

« back to all changes in this revision

Viewing changes to src/functions/external_function.cpp

  • Committer: Tarmac
  • Author(s): Sorin Marian Nasoi
  • Date: 2012-03-16 12:38:03 UTC
  • mfrom: (10720.2.8 fix_warnings_fedora)
  • Revision ID: tarmac-20120316123803-o22n385z0sbijhx2
Fixed warnings that appear in Fedora. Approved: William Candillon, Sorin Marian Nasoi, Matthias Brantner

Show diffs side-by-side

added added

removed removed

Lines of Context:
130
130
 
131
131
    for (csize i = 0; i < numLiterals; ++i)
132
132
    {
133
 
      if (ann->getLiteral(i)->getLongValue() == input + 1)
 
133
      if (ann->getLiteral(i)->getLongValue() == (unsigned int)input + 1)
134
134
        return true;
135
135
    }
136
136
 
164
164
 
165
165
    for (csize i = 0; i < numLiterals; ++i)
166
166
    {
167
 
      if (ann->getLiteral(i)->getLongValue() == input + 1)
 
167
      if (ann->getLiteral(i)->getLongValue() == (unsigned int)input + 1)
168
168
        return true;
169
169
    }
170
170