~bibledit/bibledit/ubuntu-cloud

« back to all changes in this revision

Viewing changes to sources/etcbc4.cpp

  • Committer: Teus Benschop
  • Date: 2022-08-30 18:42:32 UTC
  • Revision ID: teusjannette@gmail.com-20220830184232-a5bf5fkj14cqdx01
new upstream version

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
#include <database/etcbc4.h>
23
23
#include <filter/string.h>
24
24
#include <filter/url.h>
 
25
#pragma GCC diagnostic push
 
26
#pragma GCC diagnostic ignored "-Weffc++"
25
27
#include <pugixml/pugixml.hpp>
 
28
#pragma GCC diagnostic pop
26
29
 
27
30
 
28
31
using namespace pugi;
77
80
    "Maleachi"
78
81
  };
79
82
 
80
 
  for (unsigned int bk = 0; bk < books.size (); bk++) {
 
83
  for (size_t bk = 0; bk < books.size (); bk++) {
81
84
 
82
 
    int book = bk + 1;
 
85
    int book = static_cast<int>(bk + 1);
83
86
    string bookname = books[bk];
84
87
 
85
88
    bool book_done = false;