Changeset 702 for trunk


Ignore:
Timestamp:
Jan 8, 2016, 1:52:38 PM (4 years ago)
Author:
cito
Message:

Remove a compiler warning by casting properly

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/module/pgmodule.c

    r693 r702  
    19041904
    19051905        to_length = 2*from_length + 1;
    1906         if (to_length < from_length) /* overflow */
     1906        if (to_length < (size_t)from_length) /* overflow */
    19071907        {
    19081908                to_length = from_length;
     
    41744174
    41754175        to_length = 2*from_length + 1;
    4176         if (to_length < from_length) /* overflow */
     4176        if (to_length < (size_t)from_length) /* overflow */
    41774177        {
    41784178                to_length = from_length;
Note: See TracChangeset for help on using the changeset viewer.