~cyphermox/ubuntu/wily/shim/upstream

Viewing all changes in revision 311.

  • Committer: Peter Jones
  • Author(s): Richard W.M. Jones
  • Date: 2015-04-13 23:55:25 UTC
  • Revision ID: git-v1:90c65f72f882c2acd7f20cd59a5156aa63f7f425
fallback: Fix comparison between signed and unsigned in debugging code.

fallback.c: In function ‘update_boot_order’:
fallback.c:334:17: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
  for (j = 0 ; j < size / sizeof (CHAR16); j++)
                   ^
fallback.c: In function ‘add_to_boot_list’:
fallback.c:402:16: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
  for (i = 0; i < s; i++) {
                  ^

Signed-off-by: Richard W.M. Jones <rjones@redhat.com>

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: