===> Building for megacmd-1.7.0nb3
/opt/pkg/bin/gmake  all-recursive
gmake[1]: Entering directory '/Users/pbulk/build/net/megacmd/work/MEGAcmd-1.7.0_Linux'
Making all in sdk
gmake[2]: Entering directory '/Users/pbulk/build/net/megacmd/work/MEGAcmd-1.7.0_Linux/sdk'
/opt/pkg/bin/gmake  all-recursive
gmake[3]: Entering directory '/Users/pbulk/build/net/megacmd/work/MEGAcmd-1.7.0_Linux/sdk'
Making all in include
gmake[4]: Entering directory '/Users/pbulk/build/net/megacmd/work/MEGAcmd-1.7.0_Linux/sdk/include'
gmake[4]: Nothing to be done for 'all'.
gmake[4]: Leaving directory '/Users/pbulk/build/net/megacmd/work/MEGAcmd-1.7.0_Linux/sdk/include'
gmake[4]: Entering directory '/Users/pbulk/build/net/megacmd/work/MEGAcmd-1.7.0_Linux/sdk'
  CXX      src/libmega_la-megaclient.lo
In file included from src/megaclient.cpp:22:
./include/mega.h:33:32: warning: unknown warning group '-Wunqualified-std-cast-call', ignored [-Wunknown-warning-option]
#pragma GCC diagnostic ignored "-Wunqualified-std-cast-call"
                               ^
In file included from src/megaclient.cpp:22:
In file included from ./include/mega.h:37:
In file included from ./include/mega/types.h:76:
In file included from ./include/mega/crypto/cryptopp.h:28:
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/ccm.h:50:11: warning: implicit conversion changes signedness: 'const int' to 'unsigned int' [-Wsign-conversion]
                {return m_digestSize;}
                 ~~~~~~ ^~~~~~~~~~~~
In file included from src/megaclient.cpp:22:
In file included from ./include/mega.h:37:
In file included from ./include/mega/types.h:76:
In file included from ./include/mega/crypto/cryptopp.h:39:
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:138:6: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
        if (timeInSeconds)
        ~~  ^~~~~~~~~~~~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:141:29: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
        for (i=1; i<iterations || (timeInSeconds && (i%128!=0 || timer.ElapsedTimeAsDouble() < timeInSeconds)); i++)
                                   ^~~~~~~~~~~~~ ~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:285:7: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                if (timeInSeconds)
                ~~  ^~~~~~~~~~~~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:291:30: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                for (j=1; j<iterations || (timeInSeconds && (j%128!=0 || timer.ElapsedTimeAsDouble() < timeInSeconds)); j++)
                                           ^~~~~~~~~~~~~ ~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:297:7: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                if (timeInSeconds)
                ~~  ^~~~~~~~~~~~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:441:7: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                if (timeInSeconds)
                ~~  ^~~~~~~~~~~~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:447:30: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                for (i=1; i<iterations || (timeInSeconds && (i%128!=0 || timer.ElapsedTimeAsDouble() < timeInSeconds)); i++)
                                           ^~~~~~~~~~~~~ ~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:450:7: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                if (timeInSeconds)
                ~~  ^~~~~~~~~~~~~
In file included from src/megaclient.cpp:22:
In file included from ./include/mega.h:52:
In file included from ./include/mega/db.h:26:
./include/mega/logging.h:605:41: warning: implicit conversion changes signedness: 'size_t' (aka 'unsigned long') to 'std::streamsize' (aka 'long') [-Wsign-conversion]
        ostr.write(obj.constChar(), obj.size());
             ~~~~~                  ~~~~^~~~~~
In file included from src/megaclient.cpp:22:
In file included from ./include/mega.h:54:
In file included from ./include/mega/pubkeyaction.h:25:
In file included from ./include/mega/megaclient.h:43:
./include/mega/setandelement.h:173:63: warning: implicit conversion changes signedness: 'int' to 'const uint64_t' (aka 'const unsigned long long') [-Wsign-conversion]
        void setChanged(int changeType) { if (validChangeType(changeType, CH_EL_SIZE)) mChanges[changeType] = 1; }
                                              ~~~~~~~~~~~~~~~ ^~~~~~~~~~
./include/mega/setandelement.h:173:97: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        void setChanged(int changeType) { if (validChangeType(changeType, CH_EL_SIZE)) mChanges[changeType] = 1; }
                                                                                       ~~~~~~~~ ^~~~~~~~~~
./include/mega/setandelement.h:279:63: warning: implicit conversion changes signedness: 'int' to 'const uint64_t' (aka 'const unsigned long long') [-Wsign-conversion]
        void setChanged(int changeType) { if (validChangeType(changeType, CH_SIZE)) mChanges[changeType] = 1; }
                                              ~~~~~~~~~~~~~~~ ^~~~~~~~~~
./include/mega/setandelement.h:279:94: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        void setChanged(int changeType) { if (validChangeType(changeType, CH_SIZE)) mChanges[changeType] = 1; }
                                                                                    ~~~~~~~~ ^~~~~~~~~~
In file included from src/megaclient.cpp:22:
In file included from ./include/mega.h:91:
./include/mega/db/sqlite.h:144:10: warning: 'mega::SqliteAccountState::put' hides overloaded virtual function [-Woverloaded-virtual]
    bool put(Node* node) override;
         ^
./include/mega/db/sqlite.h:53:10: note: hidden overloaded virtual function 'mega::SqliteDbTable::put' declared here: different number of parameters (3 vs 1)
    bool put(uint32_t, char*, unsigned) override;
         ^
src/megaclient.cpp:311:130: warning: implicit conversion changes signedness: 'std::chrono::duration<long long, std::ratio<1, 1000>>::rep' (aka 'long long') to 'uint64_t' (aka 'unsigned long long') [-Wsign-conversion]
    uint64_t tsInMs = std::chrono::duration_cast<std::chrono::milliseconds>(std::chrono::system_clock::now().time_since_epoch()).count();
             ~~~~~~   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
src/megaclient.cpp:341:30: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
        byte* buf = new byte[sl];
                    ~~~      ^~
src/megaclient.cpp:346:43: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        if (!asymkey.decrypt(buf, sl, tk, tl))
                     ~~~~~~~              ^~
src/megaclient.cpp:346:35: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        if (!asymkey.decrypt(buf, sl, tk, tl))
                     ~~~~~~~      ^~
src/megaclient.cpp:380:29: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        sc->ecb_decrypt(tk, tl);
            ~~~~~~~~~~~     ^~
src/megaclient.cpp:1926:68: warning: implicit conversion changes signedness: 'const int' to 'unsigned int' [-Wsign-conversion]
    if (EVER(httpio->lastdata) && Waiter::ds >= httpio->lastdata + HttpIO::NETWORKTIMEOUT
                                                                 ~ ^~~~~~~~~~~~~~~~~~~~~~
src/megaclient.cpp:1942:53: warning: implicit conversion changes signedness: 'const int' to 'unsigned int' [-Wsign-conversion]
            &&  Waiter::ds >= pendingcs->lastdata + HttpIO::REQUESTTIMEOUT)
                                                  ~ ^~~~~~~~~~~~~~~~~~~~~~
src/megaclient.cpp:2012:58: warning: operand of ? changes signedness: 'm_off_t' (aka 'long long') to 'unsigned long long' [-Wsign-conversion]
                                     int(req->buf ? req->bufpos : req->in.size()));
                                                    ~~~~~^~~~~~
src/megaclient.cpp:2789:80: warning: implicit conversion changes signedness: 'const int' to 'unsigned int' [-Wsign-conversion]
                if (!pendingscTimedOut && Waiter::ds >= (pendingsc->lastdata + HttpIO::SCREQUESTTIMEOUT))
                                                                             ~ ^~~~~~~~~~~~~~~~~~~~~~~~
src/megaclient.cpp:2897:99: warning: implicit conversion changes signedness: 'const int' to 'unsigned int' [-Wsign-conversion]
                    || (badhostcs->status == REQ_INFLIGHT && Waiter::ds >= (badhostcs->lastdata + HttpIO::REQUESTTIMEOUT)))
                                                                                                ~ ^~~~~~~~~~~~~~~~~~~~~~
src/megaclient.cpp:2917:56: warning: implicit conversion changes signedness: 'const int' to 'unsigned int' [-Wsign-conversion]
                    disconnecttimestamp = Waiter::ds + HttpIO::CONNECTTIMEOUT;
                                                     ~ ^~~~~~~~~~~~~~~~~~~~~~
src/megaclient.cpp:2931:56: warning: implicit conversion changes signedness: 'const int' to 'unsigned int' [-Wsign-conversion]
                    disconnecttimestamp = Waiter::ds + HttpIO::CONNECTTIMEOUT;
                                                     ~ ^~~~~~~~~~~~~~~~~~~~~~
src/megaclient.cpp:2938:108: warning: implicit conversion changes signedness: 'const int' to 'unsigned int' [-Wsign-conversion]
                     || (workinglockcs->status == REQ_INFLIGHT && Waiter::ds >= (workinglockcs->lastdata + HttpIO::REQUESTTIMEOUT)))
                                                                                                         ~ ^~~~~~~~~~~~~~~~~~~~~~
src/megaclient.cpp:3160:39: warning: implicit conversion changes signedness: 'const int' to 'mega::dstime' (aka 'unsigned int') [-Wsign-conversion]
            syncfslockretrybt.backoff(Sync::SCANNING_DELAY_DS);
                              ~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~
src/megaclient.cpp:3192:57: warning: implicit conversion changes signedness: 'const int' to 'unsigned int' [-Wsign-conversion]
                            dstime dsmin = Waiter::ds - Sync::EXTRA_SCANNING_DELAY_DS;
                                                      ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/megaclient.cpp:3327:55: warning: implicit conversion changes signedness: 'const int' to 'mega::dstime' (aka 'unsigned int') [-Wsign-conversion]
                            syncfslockretrybt.backoff(Sync::SCANNING_DELAY_DS);
                                              ~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~
src/megaclient.cpp:3680:52: warning: implicit conversion changes signedness: 'const int' to 'unsigned int' [-Wsign-conversion]
                disconnecttimestamp = Waiter::ds + HttpIO::CONNECTTIMEOUT;
                                                 ~ ^~~~~~~~~~~~~~~~~~~~~~
src/megaclient.cpp:3944:49: warning: implicit conversion changes signedness: 'const int' to 'unsigned int' [-Wsign-conversion]
            dstime timeout = httpio->lastdata + HttpIO::NETWORKTIMEOUT;
                                              ~ ^~~~~~~~~~~~~~~~~~~~~~
src/megaclient.cpp:3971:56: warning: implicit conversion changes signedness: 'const int' to 'unsigned int' [-Wsign-conversion]
                dstime timeout = pendingcs->lastdata + HttpIO::REQUESTTIMEOUT;
                                                     ~ ^~~~~~~~~~~~~~~~~~~~~~
src/megaclient.cpp:3984:60: warning: implicit conversion changes signedness: 'const int' to 'unsigned int' [-Wsign-conversion]
                dstime timeout = workinglockcs->lastdata + HttpIO::REQUESTTIMEOUT;
                                                         ~ ^~~~~~~~~~~~~~~~~~~~~~
src/megaclient.cpp:4000:52: warning: implicit conversion changes signedness: 'const int' to 'unsigned int' [-Wsign-conversion]
            dstime timeout = badhostcs->lastdata + HttpIO::REQUESTTIMEOUT;
                                                 ~ ^~~~~~~~~~~~~~~~~~~~~~
src/megaclient.cpp:4013:52: warning: implicit conversion changes signedness: 'const int' to 'unsigned int' [-Wsign-conversion]
            dstime timeout = pendingsc->lastdata + HttpIO::SCREQUESTTIMEOUT;
                                                 ~ ^~~~~~~~~~~~~~~~~~~~~~~~
src/megaclient.cpp:4334:43: warning: implicit conversion changes signedness: 'unsigned long long' to 'int64_t' (aka 'long long') [-Wsign-conversion]
                    nexttransfer->ctriv = MemAccess::get<uint64_t>((const char*)keyctriv + SymmCipher::KEYLENGTH);
                                        ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/megaclient.cpp:5321:48: warning: implicit conversion changes signedness: 'uint64_t' (aka 'unsigned long long') to 'long long' [-Wsign-conversion]
                        fnstats.nodesCurrent = numNodes;
                                             ~ ^~~~~~~~
src/megaclient.cpp:5811:39: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion]
    app->reqstat_progress(1000 * curr / end);
         ~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~^~~~~
src/megaclient.cpp:6081:77: warning: implicit conversion changes signedness: 'int' to 'std::basic_string<char>::size_type' (aka 'unsigned long') [-Wsign-conversion]
    while (pp && fileattrstring->at(pp - 1) >= '0' && fileattrstring->at(pp - 1) <= '9')
                                                                      ~~ ~~~^~~
src/megaclient.cpp:6081:40: warning: implicit conversion changes signedness: 'int' to 'std::basic_string<char>::size_type' (aka 'unsigned long') [-Wsign-conversion]
    while (pp && fileattrstring->at(pp - 1) >= '0' && fileattrstring->at(pp - 1) <= '9')
                                 ~~ ~~~^~~
src/megaclient.cpp:6191:63: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
    data->resize((data->size() + SymmCipher::BLOCKSIZE - 1) & -SymmCipher::BLOCKSIZE);
                                                            ~ ^~~~~~~~~~~~~~~~~~~~~~
src/megaclient.cpp:8437:52: warning: implicit conversion changes signedness: 'int' to 'std::vector<mega::PendingContactRequest *>::size_type' (aka 'unsigned long') [-Wsign-conversion]
            PendingContactRequest* pcr = pcrnotify[i];
                                         ~~~~~~~~~ ^
src/megaclient.cpp:8463:34: warning: implicit conversion changes signedness: 'int' to 'std::vector<mega::User *>::size_type' (aka 'unsigned long') [-Wsign-conversion]
            User *u = usernotify[i];
                      ~~~~~~~~~~ ^
src/megaclient.cpp:8594:45: warning: implicit conversion changes signedness: 'long' to 'std::basic_string<char>::size_type' (aka 'unsigned long') [-Wsign-conversion]
                        s.append(bptr, path - bptr);
                          ~~~~~~       ~~~~~^~~~~~
src/megaclient.cpp:8622:45: warning: implicit conversion changes signedness: 'long' to 'std::basic_string<char>::size_type' (aka 'unsigned long') [-Wsign-conversion]
                        s.append(bptr, path - bptr);
                          ~~~~~~       ~~~~~^~~~~~
src/megaclient.cpp:8740:15: warning: implicit conversion changes signedness: 'int' to 'std::vector<std::string>::size_type' (aka 'unsigned long') [-Wsign-conversion]
        if (c[l] != ".")
            ~ ^
src/megaclient.cpp:8742:19: warning: implicit conversion changes signedness: 'int' to 'std::vector<std::string>::size_type' (aka 'unsigned long') [-Wsign-conversion]
            if (c[l] == "..")
                ~ ^
src/megaclient.cpp:8752:23: warning: implicit conversion changes signedness: 'int' to 'std::vector<std::string>::size_type' (aka 'unsigned long') [-Wsign-conversion]
                if (c[l].size())
                    ~ ^
src/megaclient.cpp:8760:55: warning: implicit conversion changes signedness: 'int' to 'std::vector<std::string>::size_type' (aka 'unsigned long') [-Wsign-conversion]
                        nn = childnodebynametype(n, c[l].c_str(),
                                                    ~ ^
src/megaclient.cpp:8765:51: warning: implicit conversion changes signedness: 'int' to 'std::vector<std::string>::size_type' (aka 'unsigned long') [-Wsign-conversion]
                        nn = childnodebyname(n, c[l].c_str());
                                                ~ ^
src/megaclient.cpp:8849:26: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
    byte* buf = new byte[ll];
                ~~~      ^~
src/megaclient.cpp:8852:27: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
    memcpy(buf + 5, json, l);
    ~~~~~~                ^
src/megaclient.cpp:8854:35: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
    memset(buf + 6 + l, 0, ll - l - 6);
    ~~~~~~                 ~~~~~~~^~~
src/megaclient.cpp:8856:32: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
    if (!key->cbc_encrypt(buf, ll))
              ~~~~~~~~~~~      ^~
src/megaclient.cpp:8862:36: warning: implicit conversion changes signedness: 'int' to 'std::basic_string<char>::size_type' (aka 'unsigned long') [-Wsign-conversion]
    attrstring->assign((char*)buf, ll);
                ~~~~~~             ^~
src/megaclient.cpp:9421:29: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
    char* result = new char[t2]();
                   ~~~      ^~
src/megaclient.cpp:9444:34: warning: implicit conversion changes signedness: 'int' to 'uint32_t' (aka 'unsigned int') [-Wsign-conversion]
            unicode = (c & 0x1f) << 6;
                    ~ ~~~~~~~~~~~^~~~
src/megaclient.cpp:9455:34: warning: implicit conversion changes signedness: 'int' to 'uint32_t' (aka 'unsigned int') [-Wsign-conversion]
            unicode = (c & 0x0f) << 12;
                    ~ ~~~~~~~~~~~^~~~~
src/megaclient.cpp:9456:42: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
            unicode |= (str[i++] & 0x3f) << 6;
                    ~~ ~~~~~~~~~~~~~~~~~~^~~~
src/megaclient.cpp:9470:34: warning: implicit conversion changes signedness: 'int' to 'uint32_t' (aka 'unsigned int') [-Wsign-conversion]
            unicode = (c & 0x07) << 18;
                    ~ ~~~~~~~~~~~^~~~~
src/megaclient.cpp:9471:42: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
            unicode |= (str[i++] & 0x3f) << 12;
                    ~~ ~~~~~~~~~~~~~~~~~~^~~~~
src/megaclient.cpp:9472:42: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
            unicode |= (str[i++] & 0x3f) << 6;
                    ~~ ~~~~~~~~~~~~~~~~~~^~~~
src/megaclient.cpp:9510:39: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
    SymmCipher* keys = new SymmCipher[n];
                       ~~~            ^
src/megaclient.cpp:9515:53: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        memcpy(key, pw + i * SymmCipher::BLOCKSIZE, valid);
        ~~~~~~                                      ^~~~~
src/megaclient.cpp:9516:54: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        memset(key + valid, 0, SymmCipher::BLOCKSIZE - valid);
        ~~~~~~                 ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
src/megaclient.cpp:9558:38: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
    t = static_cast<int>(strlen(s) & - SymmCipher::BLOCKSIZE);
                                   ~ ^~~~~~~~~~~~~~~~~~~~~~~
src/megaclient.cpp:9879:42: warning: implicit conversion changes signedness: 'int' to 'std::vector<mega::NewNode>::size_type' (aka 'unsigned long') [-Wsign-conversion]
                    auto& nn_nni = (*nn)[nni];
                                   ~     ^~~
src/megaclient.cpp:11262:19: warning: implicit conversion changes signedness: 'int' to 'std::basic_string<char>::size_type' (aka 'unsigned long') [-Wsign-conversion]
    base64.resize(Base64::btoa((byte *)json.data(), int(json.size()), (char *)base64.data()));
           ~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/megaclient.cpp:11289:27: warning: implicit conversion changes signedness: 'int' to 'std::basic_string<char>::size_type' (aka 'unsigned long') [-Wsign-conversion]
            dbname.resize(Base64::btoa((const byte*)sid.data() + sizeof key.key, SIDLEN - sizeof key.key, (char*)dbname.c_str()));
                   ~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/megaclient.cpp:11294:27: warning: implicit conversion changes signedness: 'int' to 'std::basic_string<char>::size_type' (aka 'unsigned long') [-Wsign-conversion]
            dbname.resize(Base64::btoa((const byte*)&mFolderLink.mPublicHandle, NODEHANDLE, (char*)dbname.c_str()));
                   ~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/megaclient.cpp:11337:27: warning: implicit conversion changes signedness: 'int' to 'std::basic_string<char>::size_type' (aka 'unsigned long') [-Wsign-conversion]
            dbname.resize(Base64::btoa((const byte*)sid.data() + sizeof key.key, SIDLEN - sizeof key.key, (char*)dbname.c_str()));
                   ~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/megaclient.cpp:11342:27: warning: implicit conversion changes signedness: 'int' to 'std::basic_string<char>::size_type' (aka 'unsigned long') [-Wsign-conversion]
            dbname.resize(Base64::btoa((const byte*)&mFolderLink.mPublicHandle, NODEHANDLE, (char*)dbname.c_str()));
                   ~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/megaclient.cpp:12343:34: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
    hash.add((byte *)hashstring, int(strlen(hashstring)));
         ~~~                     ^~~~~~~~~~~~~~~~~~~~~~~
src/megaclient.cpp:12358:21: warning: implicit conversion changes signedness: 'int' to 'std::basic_string<char>::size_type' (aka 'unsigned long') [-Wsign-conversion]
    base64cc.resize(Base64::btoa((byte *)ccenc.data(), int(ccenc.size()), (char *)base64cc.data()));
             ~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/megaclient.cpp:13636:20: warning: implicit conversion changes signedness: 'int' to 'std::basic_string<char>::size_type' (aka 'unsigned long') [-Wsign-conversion]
    linkBin.resize(linkLen);
            ~~~~~~ ^~~~~~~
src/megaclient.cpp:13756:39: warning: implicit conversion changes signedness: 'int' to 'std::basic_string<char>::value_type' (aka 'char') [-Wsign-conversion]
            encKey[i] = derivedKey[i] ^ linkKey[i];
                      ~ ~~~~~~~~~~~~~~^~~~~~~~~~~~
src/megaclient.cpp:14115:53: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
    privks.resize((t + SymmCipher::BLOCKSIZE - 1) & - SymmCipher::BLOCKSIZE);
                                                  ~ ^~~~~~~~~~~~~~~~~~~~~~~
src/megaclient.cpp:14411:23: warning: implicit conversion changes signedness: 'int' to 'std::basic_string<char>::size_type' (aka 'unsigned long') [-Wsign-conversion]
        dbname.resize(Base64::btoa((const byte*)sid.data() + sizeof key.key, SIDLEN - sizeof key.key, (char*)dbname.c_str()));
               ~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/megaclient.cpp:14417:23: warning: implicit conversion changes signedness: 'int' to 'std::basic_string<char>::size_type' (aka 'unsigned long') [-Wsign-conversion]
        dbname.resize(Base64::btoa((const byte*)&mFolderLink.mPublicHandle, NODEHANDLE, (char*)dbname.c_str()));
               ~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/megaclient.cpp:14526:23: warning: implicit conversion changes signedness: 'int' to 'std::basic_string<char>::size_type' (aka 'unsigned long') [-Wsign-conversion]
        dbname.resize(Base64::btoa((const byte*)sid.data() + sizeof key.key, SIDLEN - sizeof key.key, (char*)dbname.c_str()));
               ~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/megaclient.cpp:14532:23: warning: implicit conversion changes signedness: 'int' to 'std::basic_string<char>::size_type' (aka 'unsigned long') [-Wsign-conversion]
        dbname.resize(Base64::btoa((const byte*)&mFolderLink.mPublicHandle, NODEHANDLE, (char*)dbname.c_str()));
               ~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/megaclient.cpp:14667:48: warning: implicit conversion changes signedness: 'uint64_t' (aka 'unsigned long long') to 'long long' [-Wsign-conversion]
            fnstats.nodesCached = mNodeManager.getNodeCount();
                                ~ ~~~~~~~~~~~~~^~~~~~~~~~~~~~
src/megaclient.cpp:17848:57: warning: implicit conversion changes signedness: 'long' to 'unsigned long' [-Wsign-conversion]
                    snprintf(ptr, sizeof(report) - (ptr - report), " %d %d %d %" PRIi64 " %d ", ll->node->type, namelen, (int)ll->node->mtime, ll->node->size, ll->node->syncdeleted);
                                                 ~  ~~~~^~~~~~~~
src/megaclient.cpp:21869:63: warning: implicit conversion changes signedness: 'size_t' (aka 'unsigned long') to 'std::__wrap_iter<mega::SetElement **>::difference_type' (aka 'long') [-Wsign-conversion]
            setelementnotify.erase(setelementnotify.begin() + i - 1);
                                                            ~ ^
src/megaclient.cpp:22029:21: warning: implicit conversion changes signedness: 'int32_t' (aka 'int') to 'uint32_t' (aka 'unsigned int') [-Wsign-conversion]
    mCreationTime = static_cast<int32_t>(time(nullptr));
                  ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/megaclient.cpp:22891:49: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
    mClient.putua(ATTR_KEYS, (byte*)buf.data(), (int)buf.size(), 0, UNDEF, 0, 0, [this, completion](Error e)
            ~~~~~                               ^~~~~~~~~~~~~~~
src/megaclient.cpp:22946:20: warning: implicit conversion changes signedness: 'const char' to 'mega::byte' (aka 'unsigned char') [-Wsign-conversion]
        byte tag = blob[offset - headerSize];
             ~~~   ^~~~~~~~~~~~~~~~~~~~~~~~~
src/megaclient.cpp:22948:65: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
                     (static_cast<byte>(blob[offset - 2]) << 8) +
                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
In file included from src/megaclient.cpp:22:
In file included from ./include/mega.h:37:
In file included from ./include/mega/types.h:76:
In file included from ./include/mega/crypto/cryptopp.h:39:
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:285:7: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                if (timeInSeconds)
                ~~  ^~~~~~~~~~~~~
src/megaclient.cpp:11136:16: note: in instantiation of member function 'CryptoPP::PKCS5_PBKDF2_HMAC<CryptoPP::SHA512>::DeriveKey' requested here
        pbkdf2.DeriveKey(derivedKey, sizeof(derivedKey), 0, (byte*)pswd, strlen(pswd),
               ^
In file included from src/megaclient.cpp:22:
In file included from ./include/mega.h:37:
In file included from ./include/mega/types.h:76:
In file included from ./include/mega/crypto/cryptopp.h:39:
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:291:30: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                for (j=1; j<iterations || (timeInSeconds && (j%128!=0 || timer.ElapsedTimeAsDouble() < timeInSeconds)); j++)
                                           ^~~~~~~~~~~~~ ~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:297:7: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                if (timeInSeconds)
                ~~  ^~~~~~~~~~~~~
94 warnings generated.
  CXX      src/libmega_la-attrmap.lo
In file included from src/attrmap.cpp:22:
In file included from ./include/mega/attrmap.h:25:
In file included from ./include/mega/utils.h:30:
In file included from ./include/mega/types.h:76:
In file included from ./include/mega/crypto/cryptopp.h:28:
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/ccm.h:50:11: warning: implicit conversion changes signedness: 'const int' to 'unsigned int' [-Wsign-conversion]
                {return m_digestSize;}
                 ~~~~~~ ^~~~~~~~~~~~
In file included from src/attrmap.cpp:22:
In file included from ./include/mega/attrmap.h:25:
In file included from ./include/mega/utils.h:30:
In file included from ./include/mega/types.h:76:
In file included from ./include/mega/crypto/cryptopp.h:39:
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:138:6: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
        if (timeInSeconds)
        ~~  ^~~~~~~~~~~~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:141:29: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
        for (i=1; i<iterations || (timeInSeconds && (i%128!=0 || timer.ElapsedTimeAsDouble() < timeInSeconds)); i++)
                                   ^~~~~~~~~~~~~ ~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:285:7: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                if (timeInSeconds)
                ~~  ^~~~~~~~~~~~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:291:30: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                for (j=1; j<iterations || (timeInSeconds && (j%128!=0 || timer.ElapsedTimeAsDouble() < timeInSeconds)); j++)
                                           ^~~~~~~~~~~~~ ~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:297:7: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                if (timeInSeconds)
                ~~  ^~~~~~~~~~~~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:441:7: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                if (timeInSeconds)
                ~~  ^~~~~~~~~~~~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:447:30: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                for (i=1; i<iterations || (timeInSeconds && (i%128!=0 || timer.ElapsedTimeAsDouble() < timeInSeconds)); i++)
                                           ^~~~~~~~~~~~~ ~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:450:7: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                if (timeInSeconds)
                ~~  ^~~~~~~~~~~~~
src/attrmap.cpp:34:36: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
        t += static_cast<unsigned>(perrecord + it->second.size());
                                   ^~~~~~~~~ ~
src/attrmap.cpp:66:14: warning: implicit conversion changes signedness: 'int' to 'std::basic_string<char>::size_type' (aka 'unsigned long') [-Wsign-conversion]
    s.resize(nameid2string(id, const_cast<char*>(s.data())));
      ~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/attrmap.cpp:87:20: warning: implicit conversion changes signedness: 'const char' to 'mega::nameid' (aka 'unsigned long long') [-Wsign-conversion]
            return *a;
            ~~~~~~ ^~
src/attrmap.cpp:95:56: warning: implicit conversion changes signedness: 'const char' to 'unsigned long long' [-Wsign-conversion]
            return MAKENAMEID5(a[0], a[1], a[2], a[3], a[4]);
                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
./include/mega/utils.h:41:111: note: expanded from macro 'MAKENAMEID5'
#define MAKENAMEID5(a, b, c, d, e) (nameid)((((uint64_t)a) << 32) + ((b) << 24) + ((c) << 16) + ((d) << 8) + (e))
                                                                                                           ~  ^
src/attrmap.cpp:95:20: warning: implicit conversion changes signedness: 'int' to 'unsigned long long' [-Wsign-conversion]
            return MAKENAMEID5(a[0], a[1], a[2], a[3], a[4]);
                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./include/mega/utils.h:41:102: note: expanded from macro 'MAKENAMEID5'
#define MAKENAMEID5(a, b, c, d, e) (nameid)((((uint64_t)a) << 32) + ((b) << 24) + ((c) << 16) + ((d) << 8) + (e))
                                                                                              ~  ~~~~^~~~
src/attrmap.cpp:95:20: warning: implicit conversion changes signedness: 'int' to 'unsigned long long' [-Wsign-conversion]
            return MAKENAMEID5(a[0], a[1], a[2], a[3], a[4]);
                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./include/mega/utils.h:41:88: note: expanded from macro 'MAKENAMEID5'
#define MAKENAMEID5(a, b, c, d, e) (nameid)((((uint64_t)a) << 32) + ((b) << 24) + ((c) << 16) + ((d) << 8) + (e))
                                                                                ~  ~~~~^~~~~
src/attrmap.cpp:95:20: warning: implicit conversion changes signedness: 'int' to 'unsigned long long' [-Wsign-conversion]
            return MAKENAMEID5(a[0], a[1], a[2], a[3], a[4]);
                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./include/mega/utils.h:41:74: note: expanded from macro 'MAKENAMEID5'
#define MAKENAMEID5(a, b, c, d, e) (nameid)((((uint64_t)a) << 32) + ((b) << 24) + ((c) << 16) + ((d) << 8) + (e))
                                                                  ~  ~~~~^~~~~
src/attrmap.cpp:97:62: warning: implicit conversion changes signedness: 'const char' to 'unsigned long long' [-Wsign-conversion]
            return MAKENAMEID6(a[0], a[1], a[2], a[3], a[4], a[5]);
                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
./include/mega/utils.h:42:138: note: expanded from macro 'MAKENAMEID6'
#define MAKENAMEID6(a, b, c, d, e, f) (nameid)((((uint64_t)a) << 40) + (((uint64_t)b) << 32) + ((c) << 24) + ((d) << 16) + ((e) << 8) + (f))
                                                                                                                                      ~  ^
src/attrmap.cpp:97:20: warning: implicit conversion changes signedness: 'int' to 'unsigned long long' [-Wsign-conversion]
            return MAKENAMEID6(a[0], a[1], a[2], a[3], a[4], a[5]);
                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./include/mega/utils.h:42:129: note: expanded from macro 'MAKENAMEID6'
#define MAKENAMEID6(a, b, c, d, e, f) (nameid)((((uint64_t)a) << 40) + (((uint64_t)b) << 32) + ((c) << 24) + ((d) << 16) + ((e) << 8) + (f))
                                                                                                                         ~  ~~~~^~~~
src/attrmap.cpp:97:20: warning: implicit conversion changes signedness: 'int' to 'unsigned long long' [-Wsign-conversion]
            return MAKENAMEID6(a[0], a[1], a[2], a[3], a[4], a[5]);
                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./include/mega/utils.h:42:115: note: expanded from macro 'MAKENAMEID6'
#define MAKENAMEID6(a, b, c, d, e, f) (nameid)((((uint64_t)a) << 40) + (((uint64_t)b) << 32) + ((c) << 24) + ((d) << 16) + ((e) << 8) + (f))
                                                                                                           ~  ~~~~^~~~~
src/attrmap.cpp:97:20: warning: implicit conversion changes signedness: 'int' to 'unsigned long long' [-Wsign-conversion]
            return MAKENAMEID6(a[0], a[1], a[2], a[3], a[4], a[5]);
                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./include/mega/utils.h:42:101: note: expanded from macro 'MAKENAMEID6'
#define MAKENAMEID6(a, b, c, d, e, f) (nameid)((((uint64_t)a) << 40) + (((uint64_t)b) << 32) + ((c) << 24) + ((d) << 16) + ((e) << 8) + (f))
                                                                                             ~  ~~~~^~~~~
src/attrmap.cpp:99:68: warning: implicit conversion changes signedness: 'const char' to 'unsigned long long' [-Wsign-conversion]
            return MAKENAMEID7(a[0], a[1], a[2], a[3], a[4], a[5], a[6]);
                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
./include/mega/utils.h:43:165: note: expanded from macro 'MAKENAMEID7'
#define MAKENAMEID7(a, b, c, d, e, f, g) (nameid)((((uint64_t)a) << 48) + (((uint64_t)b) << 40) + (((uint64_t)c) << 32) + ((d) << 24) + ((e) << 16) + ((f) << 8) + (g))
                                                                                                                                                                 ~  ^
src/attrmap.cpp:99:20: warning: implicit conversion changes signedness: 'int' to 'unsigned long long' [-Wsign-conversion]
            return MAKENAMEID7(a[0], a[1], a[2], a[3], a[4], a[5], a[6]);
                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./include/mega/utils.h:43:156: note: expanded from macro 'MAKENAMEID7'
#define MAKENAMEID7(a, b, c, d, e, f, g) (nameid)((((uint64_t)a) << 48) + (((uint64_t)b) << 40) + (((uint64_t)c) << 32) + ((d) << 24) + ((e) << 16) + ((f) << 8) + (g))
                                                                                                                                                    ~  ~~~~^~~~
src/attrmap.cpp:99:20: warning: implicit conversion changes signedness: 'int' to 'unsigned long long' [-Wsign-conversion]
            return MAKENAMEID7(a[0], a[1], a[2], a[3], a[4], a[5], a[6]);
                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./include/mega/utils.h:43:142: note: expanded from macro 'MAKENAMEID7'
#define MAKENAMEID7(a, b, c, d, e, f, g) (nameid)((((uint64_t)a) << 48) + (((uint64_t)b) << 40) + (((uint64_t)c) << 32) + ((d) << 24) + ((e) << 16) + ((f) << 8) + (g))
                                                                                                                                      ~  ~~~~^~~~~
src/attrmap.cpp:99:20: warning: implicit conversion changes signedness: 'int' to 'unsigned long long' [-Wsign-conversion]
            return MAKENAMEID7(a[0], a[1], a[2], a[3], a[4], a[5], a[6]);
                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./include/mega/utils.h:43:128: note: expanded from macro 'MAKENAMEID7'
#define MAKENAMEID7(a, b, c, d, e, f, g) (nameid)((((uint64_t)a) << 48) + (((uint64_t)b) << 40) + (((uint64_t)c) << 32) + ((d) << 24) + ((e) << 16) + ((f) << 8) + (g))
                                                                                                                        ~  ~~~~^~~~~
src/attrmap.cpp:101:74: warning: implicit conversion changes signedness: 'const char' to 'unsigned long long' [-Wsign-conversion]
            return MAKENAMEID8(a[0], a[1], a[2], a[3], a[4], a[5], a[6], a[7]);
                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
./include/mega/utils.h:44:192: note: expanded from macro 'MAKENAMEID8'
#define MAKENAMEID8(a, b, c, d, e, f, g, h) (nameid)((((uint64_t)a) << 56) + (((uint64_t)b) << 48) + (((uint64_t)c) << 40) + (((uint64_t)d) << 32) + ((e) << 24) + ((f) << 16) + ((g) << 8) + (h))
                                                                                                                                                                                            ~  ^
src/attrmap.cpp:101:20: warning: implicit conversion changes signedness: 'int' to 'unsigned long long' [-Wsign-conversion]
            return MAKENAMEID8(a[0], a[1], a[2], a[3], a[4], a[5], a[6], a[7]);
                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./include/mega/utils.h:44:183: note: expanded from macro 'MAKENAMEID8'
#define MAKENAMEID8(a, b, c, d, e, f, g, h) (nameid)((((uint64_t)a) << 56) + (((uint64_t)b) << 48) + (((uint64_t)c) << 40) + (((uint64_t)d) << 32) + ((e) << 24) + ((f) << 16) + ((g) << 8) + (h))
                                                                                                                                                                               ~  ~~~~^~~~
src/attrmap.cpp:101:20: warning: implicit conversion changes signedness: 'int' to 'unsigned long long' [-Wsign-conversion]
            return MAKENAMEID8(a[0], a[1], a[2], a[3], a[4], a[5], a[6], a[7]);
                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./include/mega/utils.h:44:169: note: expanded from macro 'MAKENAMEID8'
#define MAKENAMEID8(a, b, c, d, e, f, g, h) (nameid)((((uint64_t)a) << 56) + (((uint64_t)b) << 48) + (((uint64_t)c) << 40) + (((uint64_t)d) << 32) + ((e) << 24) + ((f) << 16) + ((g) << 8) + (h))
                                                                                                                                                                 ~  ~~~~^~~~~
src/attrmap.cpp:101:20: warning: implicit conversion changes signedness: 'int' to 'unsigned long long' [-Wsign-conversion]
            return MAKENAMEID8(a[0], a[1], a[2], a[3], a[4], a[5], a[6], a[7]);
                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./include/mega/utils.h:44:155: note: expanded from macro 'MAKENAMEID8'
#define MAKENAMEID8(a, b, c, d, e, f, g, h) (nameid)((((uint64_t)a) << 56) + (((uint64_t)b) << 48) + (((uint64_t)c) << 40) + (((uint64_t)d) << 32) + ((e) << 24) + ((f) << 16) + ((g) << 8) + (h))
                                                                                                                                                   ~  ~~~~^~~~~
src/attrmap.cpp:137:32: warning: implicit conversion changes signedness: 'const char' to 'unsigned char' [-Wsign-conversion]
    while ((ptr < end) && (l = *ptr++))
                             ~ ^~~~~~
src/attrmap.cpp:151:14: warning: implicit conversion changes signedness: 'short' to 'unsigned short' [-Wsign-conversion]
        ll = MemAccess::get<short>(ptr);
           ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~
src/attrmap.cpp:213:28: warning: implicit conversion changes signedness: 'int' to 'std::basic_string<char>::size_type' (aka 'unsigned long') [-Wsign-conversion]
            s->append(buf, nameid2string(id, buf));
               ~~~~~~      ^~~~~~~~~~~~~~~~~~~~~~
src/attrmap.cpp:226:45: warning: implicit conversion changes signedness: 'long' to 'std::basic_string<char>::size_type' (aka 'unsigned long') [-Wsign-conversion]
                        s->append(pptr, ptr - pptr);
                           ~~~~~~       ~~~~^~~~~~
32 warnings generated.
  CXX      src/libmega_la-autocomplete.lo
In file included from src/autocomplete.cpp:24:
In file included from ./include/mega/autocomplete.h:29:
In file included from ./include/mega/types.h:76:
In file included from ./include/mega/crypto/cryptopp.h:28:
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/ccm.h:50:11: warning: implicit conversion changes signedness: 'const int' to 'unsigned int' [-Wsign-conversion]
                {return m_digestSize;}
                 ~~~~~~ ^~~~~~~~~~~~
In file included from src/autocomplete.cpp:24:
In file included from ./include/mega/autocomplete.h:29:
In file included from ./include/mega/types.h:76:
In file included from ./include/mega/crypto/cryptopp.h:39:
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:138:6: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
        if (timeInSeconds)
        ~~  ^~~~~~~~~~~~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:141:29: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
        for (i=1; i<iterations || (timeInSeconds && (i%128!=0 || timer.ElapsedTimeAsDouble() < timeInSeconds)); i++)
                                   ^~~~~~~~~~~~~ ~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:285:7: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                if (timeInSeconds)
                ~~  ^~~~~~~~~~~~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:291:30: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                for (j=1; j<iterations || (timeInSeconds && (j%128!=0 || timer.ElapsedTimeAsDouble() < timeInSeconds)); j++)
                                           ^~~~~~~~~~~~~ ~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:297:7: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                if (timeInSeconds)
                ~~  ^~~~~~~~~~~~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:441:7: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                if (timeInSeconds)
                ~~  ^~~~~~~~~~~~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:447:30: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                for (i=1; i<iterations || (timeInSeconds && (i%128!=0 || timer.ElapsedTimeAsDouble() < timeInSeconds)); i++)
                                           ^~~~~~~~~~~~~ ~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:450:7: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                if (timeInSeconds)
                ~~  ^~~~~~~~~~~~~
In file included from src/autocomplete.cpp:25:
In file included from ./include/mega/megaclient.h:26:
In file included from ./include/mega/db.h:26:
./include/mega/logging.h:605:41: warning: implicit conversion changes signedness: 'size_t' (aka 'unsigned long') to 'std::streamsize' (aka 'long') [-Wsign-conversion]
        ostr.write(obj.constChar(), obj.size());
             ~~~~~                  ~~~~^~~~~~
In file included from src/autocomplete.cpp:25:
In file included from ./include/mega/megaclient.h:43:
./include/mega/setandelement.h:173:63: warning: implicit conversion changes signedness: 'int' to 'const uint64_t' (aka 'const unsigned long long') [-Wsign-conversion]
        void setChanged(int changeType) { if (validChangeType(changeType, CH_EL_SIZE)) mChanges[changeType] = 1; }
                                              ~~~~~~~~~~~~~~~ ^~~~~~~~~~
./include/mega/setandelement.h:173:97: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        void setChanged(int changeType) { if (validChangeType(changeType, CH_EL_SIZE)) mChanges[changeType] = 1; }
                                                                                       ~~~~~~~~ ^~~~~~~~~~
./include/mega/setandelement.h:279:63: warning: implicit conversion changes signedness: 'int' to 'const uint64_t' (aka 'const unsigned long long') [-Wsign-conversion]
        void setChanged(int changeType) { if (validChangeType(changeType, CH_SIZE)) mChanges[changeType] = 1; }
                                              ~~~~~~~~~~~~~~~ ^~~~~~~~~~
./include/mega/setandelement.h:279:94: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        void setChanged(int changeType) { if (validChangeType(changeType, CH_SIZE)) mChanges[changeType] = 1; }
                                                                                    ~~~~~~~~ ^~~~~~~~~~
src/autocomplete.cpp:497:15: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion]
    int n = s.i;
        ~   ~~^
src/autocomplete.cpp:498:22: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion]
    int best_s_i = s.i;
        ~~~~~~~~   ~~^
src/autocomplete.cpp:501:15: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
        s.i = n;
            ~ ^
src/autocomplete.cpp:505:40: warning: implicit conversion changes signedness: 'unsigned int' to 'const int' [-Wsign-conversion]
            best_s_i = std::max<int>(s.i, best_s_i);
                       ~~~           ~~^
src/autocomplete.cpp:508:11: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
    s.i = best_s_i;
        ~ ^~~~~~~~
src/autocomplete.cpp:539:51: warning: implicit conversion changes signedness: 'int' to 'std::vector<std::shared_ptr<mega::autocomplete::ACNode>>::size_type' (aka 'unsigned long') [-Wsign-conversion]
            (i & 1 ? s2 << "|" : s2 << *eithers[i / 2]);
                                        ~~~~~~~ ~~^~~
src/autocomplete.cpp:1068:70: warning: implicit conversion changes signedness: 'int' to 'std::basic_string<char>::size_type' (aka 'unsigned long') [-Wsign-conversion]
        std::string word = line.substr(linepos.first, linepos.second - linepos.first);
                                ~~~~~~                ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
src/autocomplete.cpp:1068:48: warning: implicit conversion changes signedness: 'int' to 'std::basic_string<char>::size_type' (aka 'unsigned long') [-Wsign-conversion]
        std::string word = line.substr(linepos.first, linepos.second - linepos.first);
                                ~~~~~~ ~~~~~~~~^~~~~
src/autocomplete.cpp:1074:44: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
            word.erase(insertPos - linepos.first, std::string::npos);
                                 ~ ~~~~~~~~^~~~~
src/autocomplete.cpp:1204:32: warning: implicit conversion changes signedness: 'int' to 'std::basic_string<char>::size_type' (aka 'unsigned long') [-Wsign-conversion]
        c = (unsigned char)str[i];
                           ~~~ ^
src/autocomplete.cpp:1212:12: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
    return q;
    ~~~~~~ ^
src/autocomplete.cpp:1218:49: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
    size_t index = unixListCount + col * rows + row;
                                              ~ ^~~
src/autocomplete.cpp:1218:40: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
    size_t index = unixListCount + col * rows + row;
                                 ~ ~~~~^~~~~~
src/autocomplete.cpp:1246:38: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
            index = static_cast<int>(index % s.completions.size());
                                     ^~~~~ ~
src/autocomplete.cpp:1249:37: warning: implicit conversion changes signedness: 'int' to 'std::vector<mega::autocomplete::ACState::Completion>::size_type' (aka 'unsigned long') [-Wsign-conversion]
            auto& c = s.completions[index];
                      ~             ^~~~~
src/autocomplete.cpp:1253:62: warning: implicit conversion changes signedness: 'int' to 'std::basic_string<char>::size_type' (aka 'unsigned long') [-Wsign-conversion]
            s.line.replace(s.wordPos.first, s.wordPos.second - s.wordPos.first, w);
                   ~~~~~~~                  ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
src/autocomplete.cpp:1253:38: warning: implicit conversion changes signedness: 'int' to 'std::basic_string<char>::size_type' (aka 'unsigned long') [-Wsign-conversion]
            s.line.replace(s.wordPos.first, s.wordPos.second - s.wordPos.first, w);
                   ~~~~~~~ ~~~~~~~~~~^~~~~
src/autocomplete.cpp:1254:57: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
            s.wordPos.second = int(w.size() + s.wordPos.first);
                                            ~ ~~~~~~~~~~^~~~~
src/autocomplete.cpp:1284:66: warning: implicit conversion changes signedness: 'int' to 'std::basic_string<char>::size_type' (aka 'unsigned long') [-Wsign-conversion]
                s.line.replace(s.wordPos.first, s.wordPos.second - s.wordPos.first, exactChars);
                       ~~~~~~~                  ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
src/autocomplete.cpp:1284:42: warning: implicit conversion changes signedness: 'int' to 'std::basic_string<char>::size_type' (aka 'unsigned long') [-Wsign-conversion]
                s.line.replace(s.wordPos.first, s.wordPos.second - s.wordPos.first, exactChars);
                       ~~~~~~~ ~~~~~~~~~~^~~~~
src/autocomplete.cpp:1285:70: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
                s.wordPos.second = int(exactChars.size() + s.wordPos.first);
                                                         ~ ~~~~~~~~~~^~~~~
src/autocomplete.cpp:1299:71: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion]
                    unsigned width = s.calcUnixColumnWidthInGlyphs(c, rows);
                                       ~~~~~~~~~~~~~~~~~~~~~~~~~~~    ^~~~
src/autocomplete.cpp:1299:68: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion]
                    unsigned width = s.calcUnixColumnWidthInGlyphs(c, rows);
                                       ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
src/autocomplete.cpp:1334:24: warning: implicit conversion changes signedness: 'const int' to 'unsigned int' [-Wsign-conversion]
                rows = std::max<int>(rows, 1);
                     ~ ^~~~~~~~~~~~~~~~~~~~~~
src/autocomplete.cpp:1334:38: warning: implicit conversion changes signedness: 'unsigned int' to 'const int' [-Wsign-conversion]
                rows = std::max<int>(rows, 1);
                       ~~~           ^~~~
src/autocomplete.cpp:1335:24: warning: implicit conversion changes signedness: 'const int' to 'unsigned int' [-Wsign-conversion]
                cols = std::max<int>(cols, 1);
                     ~ ^~~~~~~~~~~~~~~~~~~~~~
src/autocomplete.cpp:1335:38: warning: implicit conversion changes signedness: 'unsigned int' to 'const int' [-Wsign-conversion]
                cols = std::max<int>(cols, 1);
                       ~~~           ^~~~
src/autocomplete.cpp:1338:91: warning: implicit conversion changes signedness: 'unsigned int' to 'std::vector<int>::value_type' (aka 'int') [-Wsign-conversion]
                    textOut.columnwidths.push_back(s.calcUnixColumnWidthInGlyphs(c, rows) + (c == 0 ? 6 : 3));
                                         ~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
src/autocomplete.cpp:1338:85: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion]
                    textOut.columnwidths.push_back(s.calcUnixColumnWidthInGlyphs(c, rows) + (c == 0 ? 6 : 3));
                                                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~    ^~~~
src/autocomplete.cpp:1338:82: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion]
                    textOut.columnwidths.push_back(s.calcUnixColumnWidthInGlyphs(c, rows) + (c == 0 ? 6 : 3));
                                                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
src/autocomplete.cpp:1345:71: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion]
                        const string& entry = s.unixColumnEntry(r, c, rows);
                                                ~~~~~~~~~~~~~~~       ^~~~
src/autocomplete.cpp:1345:68: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion]
                        const string& entry = s.unixColumnEntry(r, c, rows);
                                                ~~~~~~~~~~~~~~~    ^
src/autocomplete.cpp:1345:65: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion]
                        const string& entry = s.unixColumnEntry(r, c, rows);
                                                ~~~~~~~~~~~~~~~ ^
47 warnings generated.
  CXX      src/libmega_la-backofftimer.lo
In file included from src/backofftimer.cpp:22:
In file included from ./include/mega/waiter.h:25:
In file included from ./include/mega/types.h:76:
In file included from ./include/mega/crypto/cryptopp.h:28:
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/ccm.h:50:11: warning: implicit conversion changes signedness: 'const int' to 'unsigned int' [-Wsign-conversion]
                {return m_digestSize;}
                 ~~~~~~ ^~~~~~~~~~~~
In file included from src/backofftimer.cpp:22:
In file included from ./include/mega/waiter.h:25:
In file included from ./include/mega/types.h:76:
In file included from ./include/mega/crypto/cryptopp.h:39:
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:138:6: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
        if (timeInSeconds)
        ~~  ^~~~~~~~~~~~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:141:29: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
        for (i=1; i<iterations || (timeInSeconds && (i%128!=0 || timer.ElapsedTimeAsDouble() < timeInSeconds)); i++)
                                   ^~~~~~~~~~~~~ ~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:285:7: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                if (timeInSeconds)
                ~~  ^~~~~~~~~~~~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:291:30: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                for (j=1; j<iterations || (timeInSeconds && (j%128!=0 || timer.ElapsedTimeAsDouble() < timeInSeconds)); j++)
                                           ^~~~~~~~~~~~~ ~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:297:7: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                if (timeInSeconds)
                ~~  ^~~~~~~~~~~~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:441:7: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                if (timeInSeconds)
                ~~  ^~~~~~~~~~~~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:447:30: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                for (i=1; i<iterations || (timeInSeconds && (i%128!=0 || timer.ElapsedTimeAsDouble() < timeInSeconds)); i++)
                                           ^~~~~~~~~~~~~ ~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:450:7: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                if (timeInSeconds)
                ~~  ^~~~~~~~~~~~~
In file included from src/backofftimer.cpp:24:
./include/mega/logging.h:605:41: warning: implicit conversion changes signedness: 'size_t' (aka 'unsigned long') to 'std::streamsize' (aka 'long') [-Wsign-conversion]
        ostr.write(obj.constChar(), obj.size());
             ~~~~~                  ~~~~^~~~~~
10 warnings generated.
  CXX      src/libmega_la-base64.lo
In file included from src/base64.cpp:22:
In file included from ./include/mega/base64.h:25:
In file included from ./include/mega/types.h:76:
In file included from ./include/mega/crypto/cryptopp.h:28:
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/ccm.h:50:11: warning: implicit conversion changes signedness: 'const int' to 'unsigned int' [-Wsign-conversion]
                {return m_digestSize;}
                 ~~~~~~ ^~~~~~~~~~~~
In file included from src/base64.cpp:22:
In file included from ./include/mega/base64.h:25:
In file included from ./include/mega/types.h:76:
In file included from ./include/mega/crypto/cryptopp.h:39:
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:138:6: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
        if (timeInSeconds)
        ~~  ^~~~~~~~~~~~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:141:29: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
        for (i=1; i<iterations || (timeInSeconds && (i%128!=0 || timer.ElapsedTimeAsDouble() < timeInSeconds)); i++)
                                   ^~~~~~~~~~~~~ ~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:285:7: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                if (timeInSeconds)
                ~~  ^~~~~~~~~~~~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:291:30: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                for (j=1; j<iterations || (timeInSeconds && (j%128!=0 || timer.ElapsedTimeAsDouble() < timeInSeconds)); j++)
                                           ^~~~~~~~~~~~~ ~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:297:7: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                if (timeInSeconds)
                ~~  ^~~~~~~~~~~~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:441:7: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                if (timeInSeconds)
                ~~  ^~~~~~~~~~~~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:447:30: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                for (i=1; i<iterations || (timeInSeconds && (i%128!=0 || timer.ElapsedTimeAsDouble() < timeInSeconds)); i++)
                                           ^~~~~~~~~~~~~ ~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:450:7: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                if (timeInSeconds)
                ~~  ^~~~~~~~~~~~~
src/base64.cpp:88:16: warning: implicit conversion changes signedness: 'int' to 'std::basic_string<char>::size_type' (aka 'unsigned long') [-Wsign-conversion]
    out.resize(Base64::atob(in.data(), (byte *) out.data(), (int)out.size()));
        ~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/base64.cpp:97:16: warning: implicit conversion changes signedness: 'int' to 'std::basic_string<char>::size_type' (aka 'unsigned long') [-Wsign-conversion]
    out.resize(Base64::atob(in.data(), (byte *) out.data(), (int)out.size()));
        ~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/base64.cpp:112:32: warning: implicit conversion changes signedness: 'const char' to 'mega::byte' (aka 'unsigned char') [-Wsign-conversion]
            if ((c[i] = from64(*a++)) == 255)
                        ~~~~~~ ^~~~
src/base64.cpp:184:30: warning: implicit conversion changes signedness: 'std::basic_string<char>::value_type' (aka 'char') to 'mega::byte' (aka 'unsigned char') [-Wsign-conversion]
        byte b = from64(val->at(pos));
                 ~~~~~~ ~~~~~^~~~~~~
src/base64.cpp:208:16: warning: implicit conversion changes signedness: 'int' to 'std::basic_string<char>::size_type' (aka 'unsigned long') [-Wsign-conversion]
    out.resize(Base64::btoa((const byte*) in.data(), (int)in.size(), (char *) out.data()));
        ~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/base64.cpp:217:16: warning: implicit conversion changes signedness: 'int' to 'std::basic_string<char>::size_type' (aka 'unsigned long') [-Wsign-conversion]
    out.resize(Base64::btoa((const byte*) in.data(), (int)in.size(), (char *) out.data()));
        ~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/base64.cpp:233:18: warning: implicit conversion changes signedness: 'unsigned char' to 'char' [-Wsign-conversion]
        a[p++] = to64(static_cast<byte>(*b >> 2));
               ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/base64.cpp:234:18: warning: implicit conversion changes signedness: 'unsigned char' to 'char' [-Wsign-conversion]
        a[p++] = to64(static_cast<byte>((*b << 4) | (((blen > 1) ? b[1] : 0) >> 4)));
               ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/base64.cpp:241:18: warning: implicit conversion changes signedness: 'unsigned char' to 'char' [-Wsign-conversion]
        a[p++] = to64(static_cast<byte>(b[1] << 2 | (((blen > 2) ? b[2] : 0) >> 6)));
               ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/base64.cpp:248:18: warning: implicit conversion changes signedness: 'unsigned char' to 'char' [-Wsign-conversion]
        a[p++] = to64(b[2]);
               ~ ^~~~~~~~~~
src/base64.cpp:312:18: warning: implicit conversion changes signedness: 'mega::byte' (aka 'unsigned char') to 'char' [-Wsign-conversion]
        a[p++] = to32( static_cast<byte>(*b >> 3));
               ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/base64.cpp:313:18: warning: implicit conversion changes signedness: 'mega::byte' (aka 'unsigned char') to 'char' [-Wsign-conversion]
        a[p++] = to32( static_cast<byte>((*b << 2) | (((blen > 1) ? b[1] : 0) >> 6)));
               ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/base64.cpp:320:18: warning: implicit conversion changes signedness: 'mega::byte' (aka 'unsigned char') to 'char' [-Wsign-conversion]
        a[p++] = to32(static_cast<byte>(b[1] >> 1));
               ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/base64.cpp:321:18: warning: implicit conversion changes signedness: 'mega::byte' (aka 'unsigned char') to 'char' [-Wsign-conversion]
        a[p++] = to32(static_cast<byte>(b[1] << 4 | (((blen > 2) ? b[2] : 0) >> 4)));
               ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/base64.cpp:328:18: warning: implicit conversion changes signedness: 'mega::byte' (aka 'unsigned char') to 'char' [-Wsign-conversion]
        a[p++] = to32(static_cast<byte>((b[2] << 1) | (((blen > 3) ? b[3] : 0) >> 7)));
               ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/base64.cpp:335:18: warning: implicit conversion changes signedness: 'mega::byte' (aka 'unsigned char') to 'char' [-Wsign-conversion]
        a[p++] = to32(static_cast<byte>(b[3] >> 2));
               ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/base64.cpp:336:18: warning: implicit conversion changes signedness: 'mega::byte' (aka 'unsigned char') to 'char' [-Wsign-conversion]
        a[p++] = to32(static_cast<byte>(b[3] << 3 | (((blen > 4) ? b[4] : 0) >> 5)));
               ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/base64.cpp:343:18: warning: implicit conversion changes signedness: 'mega::byte' (aka 'unsigned char') to 'char' [-Wsign-conversion]
        a[p++] = to32(b[4]);
               ~ ^~~~~~~~~~
src/base64.cpp:364:32: warning: implicit conversion changes signedness: 'const char' to 'mega::byte' (aka 'unsigned char') [-Wsign-conversion]
            if ((c[i] = from32(*a++)) == 255)
                        ~~~~~~ ^~~~
28 warnings generated.
  CXX      src/libmega_la-command.lo
In file included from src/command.cpp:22:
In file included from ./include/mega/command.h:27:
In file included from ./include/mega/types.h:76:
In file included from ./include/mega/crypto/cryptopp.h:28:
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/ccm.h:50:11: warning: implicit conversion changes signedness: 'const int' to 'unsigned int' [-Wsign-conversion]
                {return m_digestSize;}
                 ~~~~~~ ^~~~~~~~~~~~
In file included from src/command.cpp:22:
In file included from ./include/mega/command.h:27:
In file included from ./include/mega/types.h:76:
In file included from ./include/mega/crypto/cryptopp.h:39:
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:138:6: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
        if (timeInSeconds)
        ~~  ^~~~~~~~~~~~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:141:29: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
        for (i=1; i<iterations || (timeInSeconds && (i%128!=0 || timer.ElapsedTimeAsDouble() < timeInSeconds)); i++)
                                   ^~~~~~~~~~~~~ ~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:285:7: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                if (timeInSeconds)
                ~~  ^~~~~~~~~~~~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:291:30: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                for (j=1; j<iterations || (timeInSeconds && (j%128!=0 || timer.ElapsedTimeAsDouble() < timeInSeconds)); j++)
                                           ^~~~~~~~~~~~~ ~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:297:7: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                if (timeInSeconds)
                ~~  ^~~~~~~~~~~~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:441:7: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                if (timeInSeconds)
                ~~  ^~~~~~~~~~~~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:447:30: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                for (i=1; i<iterations || (timeInSeconds && (i%128!=0 || timer.ElapsedTimeAsDouble() < timeInSeconds)); i++)
                                           ^~~~~~~~~~~~~ ~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:450:7: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                if (timeInSeconds)
                ~~  ^~~~~~~~~~~~~
In file included from src/command.cpp:24:
In file included from ./include/mega/megaclient.h:26:
In file included from ./include/mega/db.h:26:
./include/mega/logging.h:605:41: warning: implicit conversion changes signedness: 'size_t' (aka 'unsigned long') to 'std::streamsize' (aka 'long') [-Wsign-conversion]
        ostr.write(obj.constChar(), obj.size());
             ~~~~~                  ~~~~^~~~~~
In file included from src/command.cpp:24:
In file included from ./include/mega/megaclient.h:43:
./include/mega/setandelement.h:173:63: warning: implicit conversion changes signedness: 'int' to 'const uint64_t' (aka 'const unsigned long long') [-Wsign-conversion]
        void setChanged(int changeType) { if (validChangeType(changeType, CH_EL_SIZE)) mChanges[changeType] = 1; }
                                              ~~~~~~~~~~~~~~~ ^~~~~~~~~~
./include/mega/setandelement.h:173:97: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        void setChanged(int changeType) { if (validChangeType(changeType, CH_EL_SIZE)) mChanges[changeType] = 1; }
                                                                                       ~~~~~~~~ ^~~~~~~~~~
./include/mega/setandelement.h:279:63: warning: implicit conversion changes signedness: 'int' to 'const uint64_t' (aka 'const unsigned long long') [-Wsign-conversion]
        void setChanged(int changeType) { if (validChangeType(changeType, CH_SIZE)) mChanges[changeType] = 1; }
                                              ~~~~~~~~~~~~~~~ ^~~~~~~~~~
./include/mega/setandelement.h:279:94: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        void setChanged(int changeType) { if (validChangeType(changeType, CH_SIZE)) mChanges[changeType] = 1; }
                                                                                    ~~~~~~~~ ^~~~~~~~~~
14 warnings generated.
  CXX      src/libmega_la-commands.lo
In file included from src/commands.cpp:22:
In file included from ./include/mega/types.h:76:
In file included from ./include/mega/crypto/cryptopp.h:28:
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/ccm.h:50:11: warning: implicit conversion changes signedness: 'const int' to 'unsigned int' [-Wsign-conversion]
                {return m_digestSize;}
                 ~~~~~~ ^~~~~~~~~~~~
In file included from src/commands.cpp:22:
In file included from ./include/mega/types.h:76:
In file included from ./include/mega/crypto/cryptopp.h:39:
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:138:6: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
        if (timeInSeconds)
        ~~  ^~~~~~~~~~~~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:141:29: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
        for (i=1; i<iterations || (timeInSeconds && (i%128!=0 || timer.ElapsedTimeAsDouble() < timeInSeconds)); i++)
                                   ^~~~~~~~~~~~~ ~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:285:7: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                if (timeInSeconds)
                ~~  ^~~~~~~~~~~~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:291:30: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                for (j=1; j<iterations || (timeInSeconds && (j%128!=0 || timer.ElapsedTimeAsDouble() < timeInSeconds)); j++)
                                           ^~~~~~~~~~~~~ ~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:297:7: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                if (timeInSeconds)
                ~~  ^~~~~~~~~~~~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:441:7: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                if (timeInSeconds)
                ~~  ^~~~~~~~~~~~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:447:30: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                for (i=1; i<iterations || (timeInSeconds && (i%128!=0 || timer.ElapsedTimeAsDouble() < timeInSeconds)); i++)
                                           ^~~~~~~~~~~~~ ~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:450:7: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                if (timeInSeconds)
                ~~  ^~~~~~~~~~~~~
In file included from src/commands.cpp:31:
./include/mega.h:33:32: warning: unknown warning group '-Wunqualified-std-cast-call', ignored [-Wunknown-warning-option]
#pragma GCC diagnostic ignored "-Wunqualified-std-cast-call"
                               ^
In file included from src/commands.cpp:31:
In file included from ./include/mega.h:52:
In file included from ./include/mega/db.h:26:
./include/mega/logging.h:605:41: warning: implicit conversion changes signedness: 'size_t' (aka 'unsigned long') to 'std::streamsize' (aka 'long') [-Wsign-conversion]
        ostr.write(obj.constChar(), obj.size());
             ~~~~~                  ~~~~^~~~~~
In file included from src/commands.cpp:31:
In file included from ./include/mega.h:54:
In file included from ./include/mega/pubkeyaction.h:25:
In file included from ./include/mega/megaclient.h:43:
./include/mega/setandelement.h:173:63: warning: implicit conversion changes signedness: 'int' to 'const uint64_t' (aka 'const unsigned long long') [-Wsign-conversion]
        void setChanged(int changeType) { if (validChangeType(changeType, CH_EL_SIZE)) mChanges[changeType] = 1; }
                                              ~~~~~~~~~~~~~~~ ^~~~~~~~~~
./include/mega/setandelement.h:173:97: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        void setChanged(int changeType) { if (validChangeType(changeType, CH_EL_SIZE)) mChanges[changeType] = 1; }
                                                                                       ~~~~~~~~ ^~~~~~~~~~
./include/mega/setandelement.h:279:63: warning: implicit conversion changes signedness: 'int' to 'const uint64_t' (aka 'const unsigned long long') [-Wsign-conversion]
        void setChanged(int changeType) { if (validChangeType(changeType, CH_SIZE)) mChanges[changeType] = 1; }
                                              ~~~~~~~~~~~~~~~ ^~~~~~~~~~
./include/mega/setandelement.h:279:94: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        void setChanged(int changeType) { if (validChangeType(changeType, CH_SIZE)) mChanges[changeType] = 1; }
                                                                                    ~~~~~~~~ ^~~~~~~~~~
In file included from src/commands.cpp:31:
In file included from ./include/mega.h:91:
./include/mega/db/sqlite.h:144:10: warning: 'mega::SqliteAccountState::put' hides overloaded virtual function [-Woverloaded-virtual]
    bool put(Node* node) override;
         ^
./include/mega/db/sqlite.h:53:10: note: hidden overloaded virtual function 'mega::SqliteDbTable::put' declared here: different number of parameters (3 vs 1)
    bool put(uint32_t, char*, unsigned) override;
         ^
src/commands.cpp:41:14: warning: implicit conversion changes signedness: 'size_t' (aka 'unsigned long') to 'm_off_t' (aka 'long long') [-Wsign-conversion]
    arg("s", size);
    ~~~      ^~~~
src/commands.cpp:873:69: warning: operand of ? changes signedness: 'long' to 'unsigned long' [-Wsign-conversion]
                buf.reset(Node::decryptattr(cipherer, at, eos ? eos - at : strlen(at)));
                          ~~~~                                  ~~~~^~~~
src/commands.cpp:1847:52: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
                    if (!client->checktsid(sidbuf, len_tsid))
                                 ~~~~~~~~~         ^~~~~~~~
src/commands.cpp:1878:59: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
                        client->key.ecb_decrypt(privkbuf, len_privk);
                                    ~~~~~~~~~~~           ^~~~~~~~~
src/commands.cpp:1880:49: warning: implicit conversion changes signedness: 'int' to 'std::basic_string<char>::size_type' (aka 'unsigned long') [-Wsign-conversion]
                        client->mPrivKey.resize(Base64::btoa(privkbuf, len_privk, (char *)client->mPrivKey.data()));
                                         ~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/commands.cpp:1901:62: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
                        if (!client->asymkey.decrypt(sidbuf, len_csid, sidbuf, MegaClient::SIDLEN)
                                             ~~~~~~~         ^~~~~~~~
src/commands.cpp:2809:53: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
                                bizPlan->minUsers = static_cast<int>(json.getint());
                                                  ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/commands.cpp:2873:65: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
                                                    gbtransfer, months, amount, amountMonth, localPrice,
                                                                ^~~~~~
src/commands.cpp:2872:68: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
            client->app->enumeratequotaitems_result(type, product, prolevel, gbstorage,
                         ~~~~~~~~~~~~~~~~~~~~~~~~~~                ^~~~~~~~
src/commands.cpp:2872:53: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
            client->app->enumeratequotaitems_result(type, product, prolevel, gbstorage,
                         ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~
src/commands.cpp:3220:21: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion]
        element(av, avl);
        ~~~~~~~     ^~~
src/commands.cpp:3256:55: warning: implicit conversion changes signedness: 'long' to 'std::basic_string<char>::size_type' (aka 'unsigned long') [-Wsign-conversion]
        attr_t at = User::string2attr(string(ptr, (end-ptr)).c_str());
                                      ~~~~~~       ~~~^~~~
src/commands.cpp:3263:36: warning: implicit conversion changes signedness: 'long' to 'std::basic_string<char>::size_type' (aka 'unsigned long') [-Wsign-conversion]
        string v = string(ptr, (end-ptr));
                   ~~~~~~       ~~~^~~~
src/commands.cpp:3328:42: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion]
        arg(an.c_str(),(const char *)av, avl);
        ~~~                              ^~~
src/commands.cpp:3332:29: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion]
        arg(an.c_str(), av, avl);
        ~~~                 ^~~
src/commands.cpp:3363:56: warning: implicit conversion changes signedness: 'long' to 'std::basic_string<char>::size_type' (aka 'unsigned long') [-Wsign-conversion]
        attr_t at = User::string2attr(string(ptr, (end - ptr)).c_str());
                                      ~~~~~~       ~~~~^~~~~
src/commands.cpp:3370:37: warning: implicit conversion changes signedness: 'long' to 'std::basic_string<char>::size_type' (aka 'unsigned long') [-Wsign-conversion]
        string v = string(ptr, (end - ptr));
                   ~~~~~~       ~~~~^~~~~
src/commands.cpp:3530:37: warning: implicit conversion changes signedness: 'long' to 'std::basic_string<char>::size_type' (aka 'unsigned long') [-Wsign-conversion]
                buf.assign(ptr, (end-ptr));
                    ~~~~~~       ~~~^~~~
src/commands.cpp:3532:30: warning: implicit conversion changes signedness: 'int' to 'std::basic_string<char>::size_type' (aka 'unsigned long') [-Wsign-conversion]
                value.resize(Base64::atob(buf.data(), (byte *)value.data(), int(value.size())));
                      ~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/commands.cpp:3549:41: warning: implicit conversion changes signedness: 'long' to 'std::basic_string<char>::size_type' (aka 'unsigned long') [-Wsign-conversion]
                    buf.assign(ptr, (end-ptr));
                        ~~~~~~       ~~~^~~~
src/commands.cpp:3559:45: warning: implicit conversion changes signedness: 'long' to 'std::basic_string<char>::size_type' (aka 'unsigned long') [-Wsign-conversion]
                    version.assign(ptr, (end-ptr));
                            ~~~~~~       ~~~^~~~
src/commands.cpp:3576:34: warning: implicit conversion changes signedness: 'int' to 'std::basic_string<char>::size_type' (aka 'unsigned long') [-Wsign-conversion]
                    value.resize(Base64::atob(buf.data(), (byte *)value.data(), int(value.size())));
                          ~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/commands.cpp:3890:28: warning: implicit conversion changes signedness: 'int' to 'std::vector<mega::Node *>::size_type' (aka 'unsigned long') [-Wsign-conversion]
        element((*rshares)[i]->nodehandle, MegaClient::NODEHANDLE);
                ~          ^
src/commands.cpp:3898:27: warning: implicit conversion changes signedness: 'int' to 'std::vector<mega::Node *>::size_type' (aka 'unsigned long') [-Wsign-conversion]
        element((*rnodes)[i]->nodehandle, MegaClient::NODEHANDLE);
                ~         ^
src/commands.cpp:4443:51: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
                client->key.ecb_decrypt(privkbuf, len_privk);
                            ~~~~~~~~~~~           ^~~~~~~~~
src/commands.cpp:4445:30: warning: implicit conversion changes signedness: 'int' to 'std::basic_string<char>::size_type' (aka 'unsigned long') [-Wsign-conversion]
                privk.resize(Base64::btoa(privkbuf, len_privk, (char *)privk.data()));
                      ~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/commands.cpp:5220:50: warning: implicit conversion changes signedness: 'int' to 'uint32_t' (aka 'unsigned int') [-Wsign-conversion]
                        ns->version_files = json.getint32();
                                          ~ ~~~~~^~~~~~~~~~
src/commands.cpp:5761:30: warning: implicit conversion changes signedness: 'int' to 'std::basic_string<char>::size_type' (aka 'unsigned long') [-Wsign-conversion]
                    a.resize(Base64::atob(a.c_str(), (byte*)a.data(), int(a.size())));
                      ~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/commands.cpp:6084:20: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion]
    arg("c", code, len);
    ~~~            ^~~
src/commands.cpp:6128:25: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion]
    arg("privk", privk, privklen);
    ~~~                 ^~~~~~~~
src/commands.cpp:6129:23: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion]
    arg("pubk", pubk, pubklen);
    ~~~               ^~~~~~~
src/commands.cpp:6146:33: warning: implicit conversion changes signedness: 'int' to 'std::basic_string<char>::size_type' (aka 'unsigned long') [-Wsign-conversion]
        client->mPrivKey.resize(Base64::btoa(privkBuffer.get(), len, (char *)client->mPrivKey.data()));
                         ~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/commands.cpp:6146:65: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion]
        client->mPrivKey.resize(Base64::btoa(privkBuffer.get(), len, (char *)client->mPrivKey.data()));
                                ~~~~~~                          ^~~
src/commands.cpp:6325:38: warning: lambda capture 'client' is not used [-Wunused-lambda-capture]
    mFilters.emplace("{\"sn", [this, client](JSON *json)
                                   ~~^~~~~~
src/commands.cpp:6359:28: warning: lambda capture 'this' is not used [-Wunused-lambda-capture]
    mFilters.emplace("E", [this, client](JSON *)
                           ^~~~~
src/commands.cpp:6552:56: warning: implicit conversion changes signedness: 'uint64_t' (aka 'unsigned long long') to 'long long' [-Wsign-conversion]
    client->fnstats.nodesCached = client->mNodeManager.getNodeCount();
                                ~ ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
src/commands.cpp:6698:54: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
                if (!client->asymkey.decrypt(sidbuf, len_csid, sidbuf, MegaClient::SIDLEN))
                                     ~~~~~~~         ^~~~~~~~
src/commands.cpp:6705:32: warning: implicit conversion changes signedness: 'int' to 'std::basic_string<char>::size_type' (aka 'unsigned long') [-Wsign-conversion]
                session.resize(Base64::btoa(sidbuf, MegaClient::SIDLEN, (char *)session.data()));
                        ~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/commands.cpp:6990:72: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
            client->app->getprivatekey_result((error)API_OK, privkbuf, len_privk);
                         ~~~~~~~~~~~~~~~~~~~~                          ^~~~~~~~~
src/commands.cpp:8591:51: warning: implicit conversion changes signedness: 'int' to 'std::basic_string<char>::size_type' (aka 'unsigned long') [-Wsign-conversion]
                key.assign((const char *) keybuf, len_key);
                    ~~~~~~                        ^~~~~~~
src/commands.cpp:8974:39: warning: implicit conversion changes signedness: 'int' to 'std::vector<std::string>::size_type' (aka 'unsigned long') [-Wsign-conversion]
                        if (timezones[i] == defaulttz)
                            ~~~~~~~~~ ^
src/commands.cpp:9260:129: warning: implicit conversion changes signedness: 'int' to 'uint32_t' (aka 'unsigned int') [-Wsign-conversion]
            client->app->folderlinkinfo_result(API_OK, owner, ph, &attr, &key, currentSize, numFiles, numFolders, versionsSize, numVersions);
                         ~~~~~~~~~~~~~~~~~~~~~                                                                                  ^~~~~~~~~~~
src/commands.cpp:9260:103: warning: implicit conversion changes signedness: 'int' to 'uint32_t' (aka 'unsigned int') [-Wsign-conversion]
            client->app->folderlinkinfo_result(API_OK, owner, ph, &attr, &key, currentSize, numFiles, numFolders, versionsSize, numVersions);
                         ~~~~~~~~~~~~~~~~~~~~~                                                        ^~~~~~~~~~
src/commands.cpp:9260:93: warning: implicit conversion changes signedness: 'int' to 'uint32_t' (aka 'unsigned int') [-Wsign-conversion]
            client->app->folderlinkinfo_result(API_OK, owner, ph, &attr, &key, currentSize, numFiles, numFolders, versionsSize, numVersions);
                         ~~~~~~~~~~~~~~~~~~~~~                                              ^~~~~~~~
src/commands.cpp:9473:82: warning: implicit conversion changes signedness: 'm_off_t' (aka 'long long') to 'uint64_t' (aka 'unsigned long long') [-Wsign-conversion]
                            case MAKENAMEID2('t', 's'):     d.hbTimestamp = json.getint(); break;
                                                                          ~ ~~~~~^~~~~~~~
src/commands.cpp:9478:85: warning: implicit conversion changes signedness: 'int' to 'uint64_t' (aka 'unsigned long long') [-Wsign-conversion]
                            case MAKENAMEID3('l', 't', 's'):d.lastActivityTs = json.getint32(); break;
                                                                             ~ ~~~~~^~~~~~~~~~
src/commands.cpp:10661:18: warning: implicit conversion changes signedness: 'mega::handle' (aka 'unsigned long long') to 'm_off_t' (aka 'long long') [-Wsign-conversion]
        arg("p", publicHandle);
        ~~~      ^~~~~~~~~~~~
src/commands.cpp:10702:19: warning: implicit conversion changes signedness: 'mega::handle' (aka 'unsigned long long') to 'm_off_t' (aka 'long long') [-Wsign-conversion]
        arg("ph", publicHandle);
        ~~~       ^~~~~~~~~~~~
In file included from src/commands.cpp:23:
./include/mega/command.h:1487:12: warning: private field 'mBackupId' is not used [-Wunused-private-field]
    handle mBackupId;
           ^
65 warnings generated.
  CXX      src/libmega_la-db.lo
In file included from src/db.cpp:22:
In file included from ./include/mega/db.h:25:
In file included from ./include/mega/filesystem.h:26:
In file included from ./include/mega/types.h:76:
In file included from ./include/mega/crypto/cryptopp.h:28:
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/ccm.h:50:11: warning: implicit conversion changes signedness: 'const int' to 'unsigned int' [-Wsign-conversion]
                {return m_digestSize;}
                 ~~~~~~ ^~~~~~~~~~~~
In file included from src/db.cpp:22:
In file included from ./include/mega/db.h:25:
In file included from ./include/mega/filesystem.h:26:
In file included from ./include/mega/types.h:76:
In file included from ./include/mega/crypto/cryptopp.h:39:
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:138:6: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
        if (timeInSeconds)
        ~~  ^~~~~~~~~~~~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:141:29: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
        for (i=1; i<iterations || (timeInSeconds && (i%128!=0 || timer.ElapsedTimeAsDouble() < timeInSeconds)); i++)
                                   ^~~~~~~~~~~~~ ~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:285:7: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                if (timeInSeconds)
                ~~  ^~~~~~~~~~~~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:291:30: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                for (j=1; j<iterations || (timeInSeconds && (j%128!=0 || timer.ElapsedTimeAsDouble() < timeInSeconds)); j++)
                                           ^~~~~~~~~~~~~ ~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:297:7: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                if (timeInSeconds)
                ~~  ^~~~~~~~~~~~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:441:7: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                if (timeInSeconds)
                ~~  ^~~~~~~~~~~~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:447:30: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                for (i=1; i<iterations || (timeInSeconds && (i%128!=0 || timer.ElapsedTimeAsDouble() < timeInSeconds)); i++)
                                           ^~~~~~~~~~~~~ ~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:450:7: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                if (timeInSeconds)
                ~~  ^~~~~~~~~~~~~
In file included from src/db.cpp:22:
In file included from ./include/mega/db.h:26:
./include/mega/logging.h:605:41: warning: implicit conversion changes signedness: 'size_t' (aka 'unsigned long') to 'std::streamsize' (aka 'long') [-Wsign-conversion]
        ostr.write(obj.constChar(), obj.size());
             ~~~~~                  ~~~~^~~~~~
src/db.cpp:88:30: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
            nextid = *type & - IDSPACING;
                           ~ ^~~~~~~~~~~
11 warnings generated.
  CXX      src/libmega_la-fileattributefetch.lo
In file included from src/fileattributefetch.cpp:22:
In file included from ./include/mega/fileattributefetch.h:25:
In file included from ./include/mega/backofftimer.h:25:
In file included from ./include/mega/types.h:76:
In file included from ./include/mega/crypto/cryptopp.h:28:
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/ccm.h:50:11: warning: implicit conversion changes signedness: 'const int' to 'unsigned int' [-Wsign-conversion]
                {return m_digestSize;}
                 ~~~~~~ ^~~~~~~~~~~~
In file included from src/fileattributefetch.cpp:22:
In file included from ./include/mega/fileattributefetch.h:25:
In file included from ./include/mega/backofftimer.h:25:
In file included from ./include/mega/types.h:76:
In file included from ./include/mega/crypto/cryptopp.h:39:
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:138:6: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
        if (timeInSeconds)
        ~~  ^~~~~~~~~~~~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:141:29: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
        for (i=1; i<iterations || (timeInSeconds && (i%128!=0 || timer.ElapsedTimeAsDouble() < timeInSeconds)); i++)
                                   ^~~~~~~~~~~~~ ~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:285:7: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                if (timeInSeconds)
                ~~  ^~~~~~~~~~~~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:291:30: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                for (j=1; j<iterations || (timeInSeconds && (j%128!=0 || timer.ElapsedTimeAsDouble() < timeInSeconds)); j++)
                                           ^~~~~~~~~~~~~ ~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:297:7: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                if (timeInSeconds)
                ~~  ^~~~~~~~~~~~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:441:7: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                if (timeInSeconds)
                ~~  ^~~~~~~~~~~~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:447:30: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                for (i=1; i<iterations || (timeInSeconds && (i%128!=0 || timer.ElapsedTimeAsDouble() < timeInSeconds)); i++)
                                           ^~~~~~~~~~~~~ ~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:450:7: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                if (timeInSeconds)
                ~~  ^~~~~~~~~~~~~
In file included from src/fileattributefetch.cpp:23:
In file included from ./include/mega/megaclient.h:26:
In file included from ./include/mega/db.h:26:
./include/mega/logging.h:605:41: warning: implicit conversion changes signedness: 'size_t' (aka 'unsigned long') to 'std::streamsize' (aka 'long') [-Wsign-conversion]
        ostr.write(obj.constChar(), obj.size());
             ~~~~~                  ~~~~^~~~~~
In file included from src/fileattributefetch.cpp:23:
In file included from ./include/mega/megaclient.h:43:
./include/mega/setandelement.h:173:63: warning: implicit conversion changes signedness: 'int' to 'const uint64_t' (aka 'const unsigned long long') [-Wsign-conversion]
        void setChanged(int changeType) { if (validChangeType(changeType, CH_EL_SIZE)) mChanges[changeType] = 1; }
                                              ~~~~~~~~~~~~~~~ ^~~~~~~~~~
./include/mega/setandelement.h:173:97: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        void setChanged(int changeType) { if (validChangeType(changeType, CH_EL_SIZE)) mChanges[changeType] = 1; }
                                                                                       ~~~~~~~~ ^~~~~~~~~~
./include/mega/setandelement.h:279:63: warning: implicit conversion changes signedness: 'int' to 'const uint64_t' (aka 'const unsigned long long') [-Wsign-conversion]
        void setChanged(int changeType) { if (validChangeType(changeType, CH_SIZE)) mChanges[changeType] = 1; }
                                              ~~~~~~~~~~~~~~~ ^~~~~~~~~~
./include/mega/setandelement.h:279:94: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        void setChanged(int changeType) { if (validChangeType(changeType, CH_SIZE)) mChanges[changeType] = 1; }
                                                                                    ~~~~~~~~ ^~~~~~~~~~
src/fileattributefetch.cpp:125:31: warning: implicit conversion changes signedness: 'long' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
                req.purge(ptr - req.data());
                    ~~~~~ ~~~~^~~~~~~~~~~~
15 warnings generated.
  CXX      src/libmega_la-file.lo
In file included from src/file.cpp:22:
In file included from ./include/mega/file.h:25:
In file included from ./include/mega/filesystem.h:26:
In file included from ./include/mega/types.h:76:
In file included from ./include/mega/crypto/cryptopp.h:28:
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/ccm.h:50:11: warning: implicit conversion changes signedness: 'const int' to 'unsigned int' [-Wsign-conversion]
                {return m_digestSize;}
                 ~~~~~~ ^~~~~~~~~~~~
In file included from src/file.cpp:22:
In file included from ./include/mega/file.h:25:
In file included from ./include/mega/filesystem.h:26:
In file included from ./include/mega/types.h:76:
In file included from ./include/mega/crypto/cryptopp.h:39:
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:138:6: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
        if (timeInSeconds)
        ~~  ^~~~~~~~~~~~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:141:29: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
        for (i=1; i<iterations || (timeInSeconds && (i%128!=0 || timer.ElapsedTimeAsDouble() < timeInSeconds)); i++)
                                   ^~~~~~~~~~~~~ ~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:285:7: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                if (timeInSeconds)
                ~~  ^~~~~~~~~~~~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:291:30: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                for (j=1; j<iterations || (timeInSeconds && (j%128!=0 || timer.ElapsedTimeAsDouble() < timeInSeconds)); j++)
                                           ^~~~~~~~~~~~~ ~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:297:7: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                if (timeInSeconds)
                ~~  ^~~~~~~~~~~~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:441:7: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                if (timeInSeconds)
                ~~  ^~~~~~~~~~~~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:447:30: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                for (i=1; i<iterations || (timeInSeconds && (i%128!=0 || timer.ElapsedTimeAsDouble() < timeInSeconds)); i++)
                                           ^~~~~~~~~~~~~ ~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:450:7: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                if (timeInSeconds)
                ~~  ^~~~~~~~~~~~~
In file included from src/file.cpp:25:
In file included from ./include/mega/megaclient.h:26:
In file included from ./include/mega/db.h:26:
./include/mega/logging.h:605:41: warning: implicit conversion changes signedness: 'size_t' (aka 'unsigned long') to 'std::streamsize' (aka 'long') [-Wsign-conversion]
        ostr.write(obj.constChar(), obj.size());
             ~~~~~                  ~~~~^~~~~~
In file included from src/file.cpp:25:
In file included from ./include/mega/megaclient.h:43:
./include/mega/setandelement.h:173:63: warning: implicit conversion changes signedness: 'int' to 'const uint64_t' (aka 'const unsigned long long') [-Wsign-conversion]
        void setChanged(int changeType) { if (validChangeType(changeType, CH_EL_SIZE)) mChanges[changeType] = 1; }
                                              ~~~~~~~~~~~~~~~ ^~~~~~~~~~
./include/mega/setandelement.h:173:97: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        void setChanged(int changeType) { if (validChangeType(changeType, CH_EL_SIZE)) mChanges[changeType] = 1; }
                                                                                       ~~~~~~~~ ^~~~~~~~~~
./include/mega/setandelement.h:279:63: warning: implicit conversion changes signedness: 'int' to 'const uint64_t' (aka 'const unsigned long long') [-Wsign-conversion]
        void setChanged(int changeType) { if (validChangeType(changeType, CH_SIZE)) mChanges[changeType] = 1; }
                                              ~~~~~~~~~~~~~~~ ^~~~~~~~~~
./include/mega/setandelement.h:279:94: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        void setChanged(int changeType) { if (validChangeType(changeType, CH_SIZE)) mChanges[changeType] = 1; }
                                                                                    ~~~~~~~~ ^~~~~~~~~~
src/file.cpp:303:21: warning: implicit conversion changes signedness: 'long' to 'std::basic_string<char>::size_type' (aka 'unsigned long') [-Wsign-conversion]
    d->erase(0, ptr - d->data());
       ~~~~~    ~~~~^~~~~~~~~~~
15 warnings generated.
  CXX      src/libmega_la-filefingerprint.lo
In file included from src/filefingerprint.cpp:22:
In file included from ./include/mega/filesystem.h:26:
In file included from ./include/mega/types.h:76:
In file included from ./include/mega/crypto/cryptopp.h:28:
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/ccm.h:50:11: warning: implicit conversion changes signedness: 'const int' to 'unsigned int' [-Wsign-conversion]
                {return m_digestSize;}
                 ~~~~~~ ^~~~~~~~~~~~
In file included from src/filefingerprint.cpp:22:
In file included from ./include/mega/filesystem.h:26:
In file included from ./include/mega/types.h:76:
In file included from ./include/mega/crypto/cryptopp.h:39:
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:138:6: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
        if (timeInSeconds)
        ~~  ^~~~~~~~~~~~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:141:29: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
        for (i=1; i<iterations || (timeInSeconds && (i%128!=0 || timer.ElapsedTimeAsDouble() < timeInSeconds)); i++)
                                   ^~~~~~~~~~~~~ ~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:285:7: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                if (timeInSeconds)
                ~~  ^~~~~~~~~~~~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:291:30: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                for (j=1; j<iterations || (timeInSeconds && (j%128!=0 || timer.ElapsedTimeAsDouble() < timeInSeconds)); j++)
                                           ^~~~~~~~~~~~~ ~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:297:7: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                if (timeInSeconds)
                ~~  ^~~~~~~~~~~~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:441:7: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                if (timeInSeconds)
                ~~  ^~~~~~~~~~~~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:447:30: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                for (i=1; i<iterations || (timeInSeconds && (i%128!=0 || timer.ElapsedTimeAsDouble() < timeInSeconds)); i++)
                                           ^~~~~~~~~~~~~ ~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:450:7: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                if (timeInSeconds)
                ~~  ^~~~~~~~~~~~~
In file included from src/filefingerprint.cpp:25:
./include/mega/logging.h:605:41: warning: implicit conversion changes signedness: 'size_t' (aka 'unsigned long') to 'std::streamsize' (aka 'long') [-Wsign-conversion]
        ostr.write(obj.constChar(), obj.size());
             ~~~~~                  ~~~~^~~~~~
src/filefingerprint.cpp:157:73: warning: implicit conversion changes signedness: 'm_off_t' (aka 'long long') to 'unsigned long long' [-Wsign-conversion]
            memset((byte*)newcrc.data() + size, 0, size_t(sizeof(crc) - size));
                                                                      ~ ^~~~
src/filefingerprint.cpp:175:31: warning: implicit conversion changes signedness: 'long long' to 'unsigned long long' [-Wsign-conversion]
            int begin = int(i * size / crc.size());
                            ~~^~~~~~ ~
src/filefingerprint.cpp:176:35: warning: implicit conversion changes signedness: 'long long' to 'unsigned long long' [-Wsign-conversion]
            int end = int((i + 1) * size / crc.size());
                          ~~~~~~~~^~~~~~ ~
src/filefingerprint.cpp:178:40: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
            crc32.add(buf + begin, end - begin);
                  ~~~              ~~~~^~~~~~~
src/filefingerprint.cpp:181:25: warning: operand of ? changes signedness: '__uint32_t' (aka 'unsigned int') to 'std::array<int, 4>::value_type' (aka 'int') [-Wsign-conversion]
            newcrc[i] = htonl(crcval);
                      ~ ^~~~~~~~~~~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/sys/_endian.h:136:25: note: expanded from macro 'htonl'
#define htonl(x)        __DARWIN_OSSwapInt32(x)
                        ^~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/libkern/_OSByteOrder.h:88:32: note: expanded from macro '__DARWIN_OSSwapInt32'
    (__builtin_constant_p(x) ? __DARWIN_OSSwapConstInt32(x) : _OSSwapInt32(x))
                               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/libkern/_OSByteOrder.h:48:6: note: expanded from macro '__DARWIN_OSSwapConstInt32'
    ((__uint32_t)((((__uint32_t)(x) & 0xff000000U) >> 24) | \
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/filefingerprint.cpp:181:25: warning: operand of ? changes signedness: 'uint32_t' (aka 'unsigned int') to 'std::array<int, 4>::value_type' (aka 'int') [-Wsign-conversion]
            newcrc[i] = htonl(crcval);
                      ~ ^~~~~~~~~~~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/sys/_endian.h:136:25: note: expanded from macro 'htonl'
#define htonl(x)        __DARWIN_OSSwapInt32(x)
                        ^~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/libkern/_OSByteOrder.h:88:63: note: expanded from macro '__DARWIN_OSSwapInt32'
    (__builtin_constant_p(x) ? __DARWIN_OSSwapConstInt32(x) : _OSSwapInt32(x))
                                                              ^~~~~~~~~~~~~~~
src/filefingerprint.cpp:198:35: warning: implicit conversion changes signedness: 'unsigned long long' to 'm_off_t' (aka 'long long') [-Wsign-conversion]
                                  / (crc.size() * blocks - 1), true, FSLogging::logOnError))
                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~
src/filefingerprint.cpp:196:36: warning: implicit conversion changes signedness: 'm_off_t' (aka 'long long') to 'unsigned long long' [-Wsign-conversion]
                                  (size - sizeof block)
                                   ^~~~ ~
src/filefingerprint.cpp:209:25: warning: operand of ? changes signedness: '__uint32_t' (aka 'unsigned int') to 'std::array<int, 4>::value_type' (aka 'int') [-Wsign-conversion]
            newcrc[i] = htonl(crcval);
                      ~ ^~~~~~~~~~~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/sys/_endian.h:136:25: note: expanded from macro 'htonl'
#define htonl(x)        __DARWIN_OSSwapInt32(x)
                        ^~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/libkern/_OSByteOrder.h:88:32: note: expanded from macro '__DARWIN_OSSwapInt32'
    (__builtin_constant_p(x) ? __DARWIN_OSSwapConstInt32(x) : _OSSwapInt32(x))
                               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/libkern/_OSByteOrder.h:48:6: note: expanded from macro '__DARWIN_OSSwapConstInt32'
    ((__uint32_t)((((__uint32_t)(x) & 0xff000000U) >> 24) | \
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/filefingerprint.cpp:209:25: warning: operand of ? changes signedness: 'uint32_t' (aka 'unsigned int') to 'std::array<int, 4>::value_type' (aka 'int') [-Wsign-conversion]
            newcrc[i] = htonl(crcval);
                      ~ ^~~~~~~~~~~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/sys/_endian.h:136:25: note: expanded from macro 'htonl'
#define htonl(x)        __DARWIN_OSSwapInt32(x)
                        ^~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/libkern/_OSByteOrder.h:88:63: note: expanded from macro '__DARWIN_OSSwapInt32'
    (__builtin_constant_p(x) ? __DARWIN_OSSwapConstInt32(x) : _OSSwapInt32(x))
                                                              ^~~~~~~~~~~~~~~
src/filefingerprint.cpp:264:73: warning: implicit conversion changes signedness: 'm_off_t' (aka 'long long') to 'unsigned long long' [-Wsign-conversion]
            memset((byte*)newcrc.data() + size, 0, size_t(sizeof(crc) - size));
                                                                      ~ ^~~~
src/filefingerprint.cpp:273:28: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
        if (!is->read(buf, int(size)))
                 ~~~~      ^~~~~~~~~
src/filefingerprint.cpp:281:31: warning: implicit conversion changes signedness: 'long long' to 'unsigned long long' [-Wsign-conversion]
            int begin = int(i * size / crc.size());
                            ~~^~~~~~ ~
src/filefingerprint.cpp:282:35: warning: implicit conversion changes signedness: 'long long' to 'unsigned long long' [-Wsign-conversion]
            int end = int((i + 1) * size / crc.size());
                          ~~~~~~~~^~~~~~ ~
src/filefingerprint.cpp:284:40: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
            crc32.add(buf + begin, end - begin);
                  ~~~              ~~~~^~~~~~~
src/filefingerprint.cpp:287:25: warning: operand of ? changes signedness: '__uint32_t' (aka 'unsigned int') to 'std::array<int, 4>::value_type' (aka 'int') [-Wsign-conversion]
            newcrc[i] = htonl(crcval);
                      ~ ^~~~~~~~~~~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/sys/_endian.h:136:25: note: expanded from macro 'htonl'
#define htonl(x)        __DARWIN_OSSwapInt32(x)
                        ^~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/libkern/_OSByteOrder.h:88:32: note: expanded from macro '__DARWIN_OSSwapInt32'
    (__builtin_constant_p(x) ? __DARWIN_OSSwapConstInt32(x) : _OSSwapInt32(x))
                               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/libkern/_OSByteOrder.h:48:6: note: expanded from macro '__DARWIN_OSSwapConstInt32'
    ((__uint32_t)((((__uint32_t)(x) & 0xff000000U) >> 24) | \
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/filefingerprint.cpp:287:25: warning: operand of ? changes signedness: 'uint32_t' (aka 'unsigned int') to 'std::array<int, 4>::value_type' (aka 'int') [-Wsign-conversion]
            newcrc[i] = htonl(crcval);
                      ~ ^~~~~~~~~~~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/sys/_endian.h:136:25: note: expanded from macro 'htonl'
#define htonl(x)        __DARWIN_OSSwapInt32(x)
                        ^~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/libkern/_OSByteOrder.h:88:63: note: expanded from macro '__DARWIN_OSSwapInt32'
    (__builtin_constant_p(x) ? __DARWIN_OSSwapConstInt32(x) : _OSSwapInt32(x))
                                                              ^~~~~~~~~~~~~~~
src/filefingerprint.cpp:304:25: warning: implicit conversion changes signedness: 'unsigned long long' to 'm_off_t' (aka 'long long') [-Wsign-conversion]
                        / (crc.size() * blocks - 1);
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~
src/filefingerprint.cpp:302:35: warning: implicit conversion changes signedness: 'm_off_t' (aka 'long long') to 'unsigned long long' [-Wsign-conversion]
                m_off_t offset = (size - sizeof block)
                                  ^~~~ ~
src/filefingerprint.cpp:331:25: warning: operand of ? changes signedness: '__uint32_t' (aka 'unsigned int') to 'std::array<int, 4>::value_type' (aka 'int') [-Wsign-conversion]
            newcrc[i] = htonl(crcval);
                      ~ ^~~~~~~~~~~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/sys/_endian.h:136:25: note: expanded from macro 'htonl'
#define htonl(x)        __DARWIN_OSSwapInt32(x)
                        ^~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/libkern/_OSByteOrder.h:88:32: note: expanded from macro '__DARWIN_OSSwapInt32'
    (__builtin_constant_p(x) ? __DARWIN_OSSwapConstInt32(x) : _OSSwapInt32(x))
                               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/libkern/_OSByteOrder.h:48:6: note: expanded from macro '__DARWIN_OSSwapConstInt32'
    ((__uint32_t)((((__uint32_t)(x) & 0xff000000U) >> 24) | \
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/filefingerprint.cpp:331:25: warning: operand of ? changes signedness: 'uint32_t' (aka 'unsigned int') to 'std::array<int, 4>::value_type' (aka 'int') [-Wsign-conversion]
            newcrc[i] = htonl(crcval);
                      ~ ^~~~~~~~~~~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/sys/_endian.h:136:25: note: expanded from macro 'htonl'
#define htonl(x)        __DARWIN_OSSwapInt32(x)
                        ^~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/libkern/_OSByteOrder.h:88:63: note: expanded from macro '__DARWIN_OSSwapInt32'
    (__builtin_constant_p(x) ? __DARWIN_OSSwapConstInt32(x) : _OSSwapInt32(x))
                                                              ^~~~~~~~~~~~~~~
src/filefingerprint.cpp:357:50: warning: implicit conversion changes signedness: 'const mega::m_time_t' (aka 'const long long') to 'uint64_t' (aka 'unsigned long long') [-Wsign-conversion]
    l = Serialize64::serialize(buf + sizeof crc, mtime);
        ~~~~~~~~~~~                              ^~~~~
src/filefingerprint.cpp:359:29: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
    d->resize((sizeof crc + l) * 4 / 3 + 4);
                          ~ ^
src/filefingerprint.cpp:360:15: warning: implicit conversion changes signedness: 'int' to 'std::basic_string<char>::size_type' (aka 'unsigned long') [-Wsign-conversion]
    d->resize(Base64::btoa(buf, static_cast<int>(sizeof crc + l), (char*)d->c_str()));
       ~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/filefingerprint.cpp:360:63: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
    d->resize(Base64::btoa(buf, static_cast<int>(sizeof crc + l), (char*)d->c_str()));
                                                            ~ ^
src/filefingerprint.cpp:370:14: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
    if ((l = Base64::atob(d->c_str(), buf, sizeof buf)) < sizeof crc + 1)
           ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/filefingerprint.cpp:382:13: warning: implicit conversion changes signedness: 'uint64_t' (aka 'unsigned long long') to 'mega::m_time_t' (aka 'long long') [-Wsign-conversion]
    mtime = t;
          ~ ^
37 warnings generated.
  CXX      src/libmega_la-filesystem.lo
In file included from src/filesystem.cpp:23:
./include/mega.h:33:32: warning: unknown warning group '-Wunqualified-std-cast-call', ignored [-Wunknown-warning-option]
#pragma GCC diagnostic ignored "-Wunqualified-std-cast-call"
                               ^
In file included from src/filesystem.cpp:23:
In file included from ./include/mega.h:37:
In file included from ./include/mega/types.h:76:
In file included from ./include/mega/crypto/cryptopp.h:28:
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/ccm.h:50:11: warning: implicit conversion changes signedness: 'const int' to 'unsigned int' [-Wsign-conversion]
                {return m_digestSize;}
                 ~~~~~~ ^~~~~~~~~~~~
In file included from src/filesystem.cpp:23:
In file included from ./include/mega.h:37:
In file included from ./include/mega/types.h:76:
In file included from ./include/mega/crypto/cryptopp.h:39:
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:138:6: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
        if (timeInSeconds)
        ~~  ^~~~~~~~~~~~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:141:29: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
        for (i=1; i<iterations || (timeInSeconds && (i%128!=0 || timer.ElapsedTimeAsDouble() < timeInSeconds)); i++)
                                   ^~~~~~~~~~~~~ ~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:285:7: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                if (timeInSeconds)
                ~~  ^~~~~~~~~~~~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:291:30: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                for (j=1; j<iterations || (timeInSeconds && (j%128!=0 || timer.ElapsedTimeAsDouble() < timeInSeconds)); j++)
                                           ^~~~~~~~~~~~~ ~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:297:7: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                if (timeInSeconds)
                ~~  ^~~~~~~~~~~~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:441:7: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                if (timeInSeconds)
                ~~  ^~~~~~~~~~~~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:447:30: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                for (i=1; i<iterations || (timeInSeconds && (i%128!=0 || timer.ElapsedTimeAsDouble() < timeInSeconds)); i++)
                                           ^~~~~~~~~~~~~ ~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:450:7: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                if (timeInSeconds)
                ~~  ^~~~~~~~~~~~~
In file included from src/filesystem.cpp:23:
In file included from ./include/mega.h:52:
In file included from ./include/mega/db.h:26:
./include/mega/logging.h:605:41: warning: implicit conversion changes signedness: 'size_t' (aka 'unsigned long') to 'std::streamsize' (aka 'long') [-Wsign-conversion]
        ostr.write(obj.constChar(), obj.size());
             ~~~~~                  ~~~~^~~~~~
In file included from src/filesystem.cpp:23:
In file included from ./include/mega.h:54:
In file included from ./include/mega/pubkeyaction.h:25:
In file included from ./include/mega/megaclient.h:43:
./include/mega/setandelement.h:173:63: warning: implicit conversion changes signedness: 'int' to 'const uint64_t' (aka 'const unsigned long long') [-Wsign-conversion]
        void setChanged(int changeType) { if (validChangeType(changeType, CH_EL_SIZE)) mChanges[changeType] = 1; }
                                              ~~~~~~~~~~~~~~~ ^~~~~~~~~~
./include/mega/setandelement.h:173:97: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        void setChanged(int changeType) { if (validChangeType(changeType, CH_EL_SIZE)) mChanges[changeType] = 1; }
                                                                                       ~~~~~~~~ ^~~~~~~~~~
./include/mega/setandelement.h:279:63: warning: implicit conversion changes signedness: 'int' to 'const uint64_t' (aka 'const unsigned long long') [-Wsign-conversion]
        void setChanged(int changeType) { if (validChangeType(changeType, CH_SIZE)) mChanges[changeType] = 1; }
                                              ~~~~~~~~~~~~~~~ ^~~~~~~~~~
./include/mega/setandelement.h:279:94: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        void setChanged(int changeType) { if (validChangeType(changeType, CH_SIZE)) mChanges[changeType] = 1; }
                                                                                    ~~~~~~~~ ^~~~~~~~~~
In file included from src/filesystem.cpp:23:
In file included from ./include/mega.h:91:
./include/mega/db/sqlite.h:144:10: warning: 'mega::SqliteAccountState::put' hides overloaded virtual function [-Woverloaded-virtual]
    bool put(Node* node) override;
         ^
./include/mega/db/sqlite.h:53:10: note: hidden overloaded virtual function 'mega::SqliteDbTable::put' declared here: different number of parameters (3 vs 1)
    bool put(uint32_t, char*, unsigned) override;
         ^
16 warnings generated.
  CXX      src/libmega_la-gfx.lo
In file included from src/gfx.cpp:22:
./include/mega.h:33:32: warning: unknown warning group '-Wunqualified-std-cast-call', ignored [-Wunknown-warning-option]
#pragma GCC diagnostic ignored "-Wunqualified-std-cast-call"
                               ^
In file included from src/gfx.cpp:22:
In file included from ./include/mega.h:37:
In file included from ./include/mega/types.h:76:
In file included from ./include/mega/crypto/cryptopp.h:28:
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/ccm.h:50:11: warning: implicit conversion changes signedness: 'const int' to 'unsigned int' [-Wsign-conversion]
                {return m_digestSize;}
                 ~~~~~~ ^~~~~~~~~~~~
In file included from src/gfx.cpp:22:
In file included from ./include/mega.h:37:
In file included from ./include/mega/types.h:76:
In file included from ./include/mega/crypto/cryptopp.h:39:
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:138:6: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
        if (timeInSeconds)
        ~~  ^~~~~~~~~~~~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:141:29: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
        for (i=1; i<iterations || (timeInSeconds && (i%128!=0 || timer.ElapsedTimeAsDouble() < timeInSeconds)); i++)
                                   ^~~~~~~~~~~~~ ~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:285:7: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                if (timeInSeconds)
                ~~  ^~~~~~~~~~~~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:291:30: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                for (j=1; j<iterations || (timeInSeconds && (j%128!=0 || timer.ElapsedTimeAsDouble() < timeInSeconds)); j++)
                                           ^~~~~~~~~~~~~ ~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:297:7: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                if (timeInSeconds)
                ~~  ^~~~~~~~~~~~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:441:7: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                if (timeInSeconds)
                ~~  ^~~~~~~~~~~~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:447:30: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                for (i=1; i<iterations || (timeInSeconds && (i%128!=0 || timer.ElapsedTimeAsDouble() < timeInSeconds)); i++)
                                           ^~~~~~~~~~~~~ ~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:450:7: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                if (timeInSeconds)
                ~~  ^~~~~~~~~~~~~
In file included from src/gfx.cpp:22:
In file included from ./include/mega.h:52:
In file included from ./include/mega/db.h:26:
./include/mega/logging.h:605:41: warning: implicit conversion changes signedness: 'size_t' (aka 'unsigned long') to 'std::streamsize' (aka 'long') [-Wsign-conversion]
        ostr.write(obj.constChar(), obj.size());
             ~~~~~                  ~~~~^~~~~~
In file included from src/gfx.cpp:22:
In file included from ./include/mega.h:54:
In file included from ./include/mega/pubkeyaction.h:25:
In file included from ./include/mega/megaclient.h:43:
./include/mega/setandelement.h:173:63: warning: implicit conversion changes signedness: 'int' to 'const uint64_t' (aka 'const unsigned long long') [-Wsign-conversion]
        void setChanged(int changeType) { if (validChangeType(changeType, CH_EL_SIZE)) mChanges[changeType] = 1; }
                                              ~~~~~~~~~~~~~~~ ^~~~~~~~~~
./include/mega/setandelement.h:173:97: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        void setChanged(int changeType) { if (validChangeType(changeType, CH_EL_SIZE)) mChanges[changeType] = 1; }
                                                                                       ~~~~~~~~ ^~~~~~~~~~
./include/mega/setandelement.h:279:63: warning: implicit conversion changes signedness: 'int' to 'const uint64_t' (aka 'const unsigned long long') [-Wsign-conversion]
        void setChanged(int changeType) { if (validChangeType(changeType, CH_SIZE)) mChanges[changeType] = 1; }
                                              ~~~~~~~~~~~~~~~ ^~~~~~~~~~
./include/mega/setandelement.h:279:94: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        void setChanged(int changeType) { if (validChangeType(changeType, CH_SIZE)) mChanges[changeType] = 1; }
                                                                                    ~~~~~~~~ ^~~~~~~~~~
In file included from src/gfx.cpp:22:
In file included from ./include/mega.h:91:
./include/mega/db/sqlite.h:144:10: warning: 'mega::SqliteAccountState::put' hides overloaded virtual function [-Woverloaded-virtual]
    bool put(Node* node) override;
         ^
./include/mega/db/sqlite.h:53:10: note: hidden overloaded virtual function 'mega::SqliteDbTable::put' declared here: different number of parameters (3 vs 1)
    bool put(uint32_t, char*, unsigned) override;
         ^
16 warnings generated.
  CXX      src/libmega_la-http.lo
In file included from src/http.cpp:22:
In file included from ./include/mega/http.h:26:
In file included from ./include/mega/types.h:76:
In file included from ./include/mega/crypto/cryptopp.h:28:
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/ccm.h:50:11: warning: implicit conversion changes signedness: 'const int' to 'unsigned int' [-Wsign-conversion]
                {return m_digestSize;}
                 ~~~~~~ ^~~~~~~~~~~~
In file included from src/http.cpp:22:
In file included from ./include/mega/http.h:26:
In file included from ./include/mega/types.h:76:
In file included from ./include/mega/crypto/cryptopp.h:39:
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:138:6: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
        if (timeInSeconds)
        ~~  ^~~~~~~~~~~~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:141:29: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
        for (i=1; i<iterations || (timeInSeconds && (i%128!=0 || timer.ElapsedTimeAsDouble() < timeInSeconds)); i++)
                                   ^~~~~~~~~~~~~ ~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:285:7: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                if (timeInSeconds)
                ~~  ^~~~~~~~~~~~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:291:30: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                for (j=1; j<iterations || (timeInSeconds && (j%128!=0 || timer.ElapsedTimeAsDouble() < timeInSeconds)); j++)
                                           ^~~~~~~~~~~~~ ~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:297:7: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                if (timeInSeconds)
                ~~  ^~~~~~~~~~~~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:441:7: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                if (timeInSeconds)
                ~~  ^~~~~~~~~~~~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:447:30: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                for (i=1; i<iterations || (timeInSeconds && (i%128!=0 || timer.ElapsedTimeAsDouble() < timeInSeconds)); i++)
                                           ^~~~~~~~~~~~~ ~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:450:7: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                if (timeInSeconds)
                ~~  ^~~~~~~~~~~~~
In file included from src/http.cpp:23:
In file included from ./include/mega/megaclient.h:26:
In file included from ./include/mega/db.h:26:
./include/mega/logging.h:605:41: warning: implicit conversion changes signedness: 'size_t' (aka 'unsigned long') to 'std::streamsize' (aka 'long') [-Wsign-conversion]
        ostr.write(obj.constChar(), obj.size());
             ~~~~~                  ~~~~^~~~~~
In file included from src/http.cpp:23:
In file included from ./include/mega/megaclient.h:43:
./include/mega/setandelement.h:173:63: warning: implicit conversion changes signedness: 'int' to 'const uint64_t' (aka 'const unsigned long long') [-Wsign-conversion]
        void setChanged(int changeType) { if (validChangeType(changeType, CH_EL_SIZE)) mChanges[changeType] = 1; }
                                              ~~~~~~~~~~~~~~~ ^~~~~~~~~~
./include/mega/setandelement.h:173:97: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        void setChanged(int changeType) { if (validChangeType(changeType, CH_EL_SIZE)) mChanges[changeType] = 1; }
                                                                                       ~~~~~~~~ ^~~~~~~~~~
./include/mega/setandelement.h:279:63: warning: implicit conversion changes signedness: 'int' to 'const uint64_t' (aka 'const unsigned long long') [-Wsign-conversion]
        void setChanged(int changeType) { if (validChangeType(changeType, CH_SIZE)) mChanges[changeType] = 1; }
                                              ~~~~~~~~~~~~~~~ ^~~~~~~~~~
./include/mega/setandelement.h:279:94: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        void setChanged(int changeType) { if (validChangeType(changeType, CH_SIZE)) mChanges[changeType] = 1; }
                                                                                    ~~~~~~~~ ^~~~~~~~~~
src/http.cpp:679:50: warning: implicit conversion changes signedness: 'm_off_t' (aka 'long long') to 'unsigned long long' [-Wsign-conversion]
        *len = static_cast<unsigned>(in.size() - bufpos);
                                               ~ ^~~~~~
src/http.cpp:694:19: warning: implicit conversion changes signedness: 'std::basic_string<char>::size_type' (aka 'unsigned long') to 'm_off_t' (aka 'long long') [-Wsign-conversion]
        return in.size();
        ~~~~~~ ~~~^~~~~~
src/http.cpp:729:65: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
            buf = new byte[(size + SymmCipher::BLOCKSIZE - 1) & - SymmCipher::BLOCKSIZE];
                                                              ~ ^~~~~~~~~~~~~~~~~~~~~~~
src/http.cpp:778:25: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
        data += (size - ll);
                      ~ ^~
src/http.cpp:800:78: warning: implicit conversion changes signedness: 'uint64_t' (aka 'unsigned long long') to 'int64_t' (aka 'long long') [-Wsign-conversion]
        macs->ctr_encrypt(startpos, key, buf, unsigned(chunksize), startpos, ctriv, false);
              ~~~~~~~~~~~                                                    ^~~~~
19 warnings generated.
  CXX      src/libmega_la-json.lo
In file included from src/json.cpp:24:
In file included from ./include/mega/json.h:25:
In file included from ./include/mega/types.h:76:
In file included from ./include/mega/crypto/cryptopp.h:28:
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/ccm.h:50:11: warning: implicit conversion changes signedness: 'const int' to 'unsigned int' [-Wsign-conversion]
                {return m_digestSize;}
                 ~~~~~~ ^~~~~~~~~~~~
In file included from src/json.cpp:24:
In file included from ./include/mega/json.h:25:
In file included from ./include/mega/types.h:76:
In file included from ./include/mega/crypto/cryptopp.h:39:
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:138:6: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
        if (timeInSeconds)
        ~~  ^~~~~~~~~~~~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:141:29: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
        for (i=1; i<iterations || (timeInSeconds && (i%128!=0 || timer.ElapsedTimeAsDouble() < timeInSeconds)); i++)
                                   ^~~~~~~~~~~~~ ~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:285:7: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                if (timeInSeconds)
                ~~  ^~~~~~~~~~~~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:291:30: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                for (j=1; j<iterations || (timeInSeconds && (j%128!=0 || timer.ElapsedTimeAsDouble() < timeInSeconds)); j++)
                                           ^~~~~~~~~~~~~ ~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:297:7: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                if (timeInSeconds)
                ~~  ^~~~~~~~~~~~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:441:7: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                if (timeInSeconds)
                ~~  ^~~~~~~~~~~~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:447:30: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                for (i=1; i<iterations || (timeInSeconds && (i%128!=0 || timer.ElapsedTimeAsDouble() < timeInSeconds)); i++)
                                           ^~~~~~~~~~~~~ ~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:450:7: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                if (timeInSeconds)
                ~~  ^~~~~~~~~~~~~
In file included from src/json.cpp:26:
In file included from ./include/mega/megaclient.h:26:
In file included from ./include/mega/db.h:26:
./include/mega/logging.h:605:41: warning: implicit conversion changes signedness: 'size_t' (aka 'unsigned long') to 'std::streamsize' (aka 'long') [-Wsign-conversion]
        ostr.write(obj.constChar(), obj.size());
             ~~~~~                  ~~~~^~~~~~
In file included from src/json.cpp:26:
In file included from ./include/mega/megaclient.h:43:
./include/mega/setandelement.h:173:63: warning: implicit conversion changes signedness: 'int' to 'const uint64_t' (aka 'const unsigned long long') [-Wsign-conversion]
        void setChanged(int changeType) { if (validChangeType(changeType, CH_EL_SIZE)) mChanges[changeType] = 1; }
                                              ~~~~~~~~~~~~~~~ ^~~~~~~~~~
./include/mega/setandelement.h:173:97: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        void setChanged(int changeType) { if (validChangeType(changeType, CH_EL_SIZE)) mChanges[changeType] = 1; }
                                                                                       ~~~~~~~~ ^~~~~~~~~~
./include/mega/setandelement.h:279:63: warning: implicit conversion changes signedness: 'int' to 'const uint64_t' (aka 'const unsigned long long') [-Wsign-conversion]
        void setChanged(int changeType) { if (validChangeType(changeType, CH_SIZE)) mChanges[changeType] = 1; }
                                              ~~~~~~~~~~~~~~~ ^~~~~~~~~~
./include/mega/setandelement.h:279:94: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        void setChanged(int changeType) { if (validChangeType(changeType, CH_SIZE)) mChanges[changeType] = 1; }
                                                                                    ~~~~~~~~ ^~~~~~~~~~
src/json.cpp:115:50: warning: implicit conversion changes signedness: 'long' to 'std::basic_string<char>::size_type' (aka 'unsigned long') [-Wsign-conversion]
                    s->assign(pos + 1, ptr - pos - 2);
                       ~~~~~~          ~~~~~~~~~~^~~
src/json.cpp:119:40: warning: implicit conversion changes signedness: 'long' to 'std::basic_string<char>::size_type' (aka 'unsigned long') [-Wsign-conversion]
                    s->assign(pos, ptr - pos);
                       ~~~~~~      ~~~~^~~~~
src/json.cpp:206:26: warning: implicit conversion changes signedness: 'const char' to 'unsigned long long' [-Wsign-conversion]
        id = (id << 8) + *ptr++;
                       ~ ^~~~~~
src/json.cpp:285:30: warning: implicit conversion changes signedness: 'const char' to 'unsigned long long' [-Wsign-conversion]
            id = (id << 8) + *ptr++;
                           ~ ^~~~~~
src/json.cpp:371:45: warning: implicit conversion changes signedness: 'long' to 'std::basic_string<char>::size_type' (aka 'unsigned long') [-Wsign-conversion]
        dst->resize((ptr - pos - 1) / 4 * 3 + 3);
             ~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~^~~
src/json.cpp:372:21: warning: implicit conversion changes signedness: 'int' to 'std::basic_string<char>::size_type' (aka 'unsigned long') [-Wsign-conversion]
        dst->resize(Base64::atob(pos + 1, (byte*)dst->data(), int(dst->size())));
             ~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/json.cpp:453:16: warning: implicit conversion changes signedness: 'long long' to 'mega::handle' (aka 'unsigned long long') [-Wsign-conversion]
    handle r = atoll(ptr);
           ~   ^~~~~~~~~~
src/json.cpp:456:12: warning: implicit conversion changes signedness: 'mega::handle' (aka 'unsigned long long') to 'm_off_t' (aka 'long long') [-Wsign-conversion]
    return r;
    ~~~~~~ ^
src/json.cpp:680:27: warning: implicit conversion changes signedness: 'int' to 'std::basic_string<char>::size_type' (aka 'unsigned long') [-Wsign-conversion]
            s->replace(i, l, &c, 1);
               ~~~~~~~    ^
src/json.cpp:750:29: warning: implicit conversion changes signedness: 'long' to 'std::basic_string<char>::size_type' (aka 'unsigned long') [-Wsign-conversion]
            s->assign(p, pp - p);
               ~~~~~~    ~~~^~~
src/json.cpp:853:38: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
    char* buf = new char[len * 4 / 3 + 4];
                ~~~      ~~~~~~~~~~~~^~~
src/json.cpp:906:21: warning: implicit conversion changes signedness: 'int' to 'std::basic_string<char>::size_type' (aka 'unsigned long') [-Wsign-conversion]
    mJson.append(s, len);
          ~~~~~~    ^~~
src/json.cpp:972:38: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
    char* buf = new char[len * 4 / 3 + 4];
                ~~~      ~~~~~~~~~~~~^~~
src/json.cpp:977:23: warning: implicit conversion changes signedness: 'int' to 'std::basic_string<char>::size_type' (aka 'unsigned long') [-Wsign-conversion]
    mJson.append(buf, len);
          ~~~~~~      ^~~
src/json.cpp:1003:13: warning: implicit conversion changes signedness: 'signed char' to 'std::array::size_type' (aka 'unsigned long') [-Wsign-conversion]
    mLevels[++mLevel] = 0;
    ~~~~~~~ ^~~~~~~~
src/json.cpp:1030:18: warning: implicit conversion changes signedness: 'signed char' to 'std::array::size_type' (aka 'unsigned long') [-Wsign-conversion]
    if (!mLevels[mLevel])
         ~~~~~~~ ^~~~~~
src/json.cpp:1032:17: warning: implicit conversion changes signedness: 'signed char' to 'std::array::size_type' (aka 'unsigned long') [-Wsign-conversion]
        mLevels[mLevel] = 1;
        ~~~~~~~ ^~~~~~
src/json.cpp:1070:30: warning: implicit conversion changes signedness: 'const utf8proc_uint8_t' (aka 'const unsigned char') to 'std::basic_string<char>::value_type' (aka 'char') [-Wsign-conversion]
            result.push_back(current[-1]);
                   ~~~~~~~~~ ^~~~~~~~~~~
src/json.cpp:1203:77: warning: implicit conversion changes signedness: 'long' to 'std::basic_string<char>::size_type' (aka 'unsigned long') [-Wsign-conversion]
                                 << " Data: " << std::string(mLastPos, mPos - mLastPos);
                                                 ~~~                   ~~~~~^~~~~~~~~~
src/json.cpp:1210:76: warning: implicit conversion changes signedness: 'long' to 'std::basic_string<char>::size_type' (aka 'unsigned long') [-Wsign-conversion]
                                << " Data: " << std::string(mLastPos, mPos - mLastPos);
                                                ~~~                   ~~~~~^~~~~~~~~~
src/json.cpp:1279:72: warning: implicit conversion changes signedness: 'int' to 'std::basic_string<char>::size_type' (aka 'unsigned long') [-Wsign-conversion]
                                     << " Data: " << std::string(mPos, t);
                                                     ~~~               ^
src/json.cpp:1286:71: warning: implicit conversion changes signedness: 'int' to 'std::basic_string<char>::size_type' (aka 'unsigned long') [-Wsign-conversion]
                                    << " Data: " << std::string(mPos, t);
                                                    ~~~               ^
src/json.cpp:1296:92: warning: implicit conversion changes signedness: 'int' to 'std::basic_string<char>::size_type' (aka 'unsigned long') [-Wsign-conversion]
                             << " Data: " << mLastName << " = " << std::string(mPos + 1, t - 2);
                                                                   ~~~                   ~~^~~
src/json.cpp:1318:70: warning: implicit conversion changes signedness: 'int' to 'std::basic_string<char>::size_type' (aka 'unsigned long') [-Wsign-conversion]
                             << " Data: " << std::string(mPos + 1, t - 2);
                                             ~~~                   ~~^~~
src/json.cpp:1320:54: warning: implicit conversion changes signedness: 'int' to 'std::basic_string<char>::size_type' (aka 'unsigned long') [-Wsign-conversion]
                mLastName =  std::string(mPos + 1, t - 2);
                             ~~~                   ~~^~~
src/json.cpp:1343:82: warning: implicit conversion changes signedness: 'int' to 'std::basic_string<char>::size_type' (aka 'unsigned long') [-Wsign-conversion]
                         << " Data: " << mLastName << " = " << std::string(mPos, j);
                                                               ~~~               ^
src/json.cpp:1361:76: warning: implicit conversion changes signedness: 'int' to 'std::basic_string<char>::size_type' (aka 'unsigned long') [-Wsign-conversion]
                                     << " Data: " << std::string(mLastPos, j);
                                                     ~~~                   ^
src/json.cpp:1367:75: warning: implicit conversion changes signedness: 'int' to 'std::basic_string<char>::size_type' (aka 'unsigned long') [-Wsign-conversion]
                                    << " Data: " << std::string(mLastPos, j);
                                                    ~~~                   ^
42 warnings generated.
  CXX      src/libmega_la-mediafileattribute.lo
In file included from src/mediafileattribute.cpp:22:
In file included from ./include/mega/mediafileattribute.h:25:
In file included from ./include/mega/types.h:76:
In file included from ./include/mega/crypto/cryptopp.h:28:
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/ccm.h:50:11: warning: implicit conversion changes signedness: 'const int' to 'unsigned int' [-Wsign-conversion]
                {return m_digestSize;}
                 ~~~~~~ ^~~~~~~~~~~~
In file included from src/mediafileattribute.cpp:22:
In file included from ./include/mega/mediafileattribute.h:25:
In file included from ./include/mega/types.h:76:
In file included from ./include/mega/crypto/cryptopp.h:39:
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:138:6: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
        if (timeInSeconds)
        ~~  ^~~~~~~~~~~~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:141:29: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
        for (i=1; i<iterations || (timeInSeconds && (i%128!=0 || timer.ElapsedTimeAsDouble() < timeInSeconds)); i++)
                                   ^~~~~~~~~~~~~ ~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:285:7: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                if (timeInSeconds)
                ~~  ^~~~~~~~~~~~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:291:30: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                for (j=1; j<iterations || (timeInSeconds && (j%128!=0 || timer.ElapsedTimeAsDouble() < timeInSeconds)); j++)
                                           ^~~~~~~~~~~~~ ~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:297:7: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                if (timeInSeconds)
                ~~  ^~~~~~~~~~~~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:441:7: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                if (timeInSeconds)
                ~~  ^~~~~~~~~~~~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:447:30: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                for (i=1; i<iterations || (timeInSeconds && (i%128!=0 || timer.ElapsedTimeAsDouble() < timeInSeconds)); i++)
                                           ^~~~~~~~~~~~~ ~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:450:7: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                if (timeInSeconds)
                ~~  ^~~~~~~~~~~~~
In file included from src/mediafileattribute.cpp:23:
./include/mega/logging.h:605:41: warning: implicit conversion changes signedness: 'size_t' (aka 'unsigned long') to 'std::streamsize' (aka 'long') [-Wsign-conversion]
        ostr.write(obj.constChar(), obj.size());
             ~~~~~                  ~~~~^~~~~~
In file included from src/mediafileattribute.cpp:26:
In file included from ./include/mega/megaclient.h:43:
./include/mega/setandelement.h:173:63: warning: implicit conversion changes signedness: 'int' to 'const uint64_t' (aka 'const unsigned long long') [-Wsign-conversion]
        void setChanged(int changeType) { if (validChangeType(changeType, CH_EL_SIZE)) mChanges[changeType] = 1; }
                                              ~~~~~~~~~~~~~~~ ^~~~~~~~~~
./include/mega/setandelement.h:173:97: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        void setChanged(int changeType) { if (validChangeType(changeType, CH_EL_SIZE)) mChanges[changeType] = 1; }
                                                                                       ~~~~~~~~ ^~~~~~~~~~
./include/mega/setandelement.h:279:63: warning: implicit conversion changes signedness: 'int' to 'const uint64_t' (aka 'const unsigned long long') [-Wsign-conversion]
        void setChanged(int changeType) { if (validChangeType(changeType, CH_SIZE)) mChanges[changeType] = 1; }
                                              ~~~~~~~~~~~~~~~ ^~~~~~~~~~
./include/mega/setandelement.h:279:94: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        void setChanged(int changeType) { if (validChangeType(changeType, CH_SIZE)) mChanges[changeType] = 1; }
                                                                                    ~~~~~~~~ ^~~~~~~~~~
src/mediafileattribute.cpp:551:39: warning: implicit conversion changes signedness: 'int' to 'std::basic_string<char>::size_type' (aka 'unsigned long') [-Wsign-conversion]
        Base64::atob(attrs.substr(pos + 3, 11), binary);
                           ~~~~~~ ~~~~^~~
src/mediafileattribute.cpp:557:31: warning: implicit conversion changes signedness: 'int' to 'uint32_t' (aka 'unsigned int') [-Wsign-conversion]
        r.width = (v[0] >> 1) + ((v[1] & 127) << 7);
                ~ ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
src/mediafileattribute.cpp:560:25: warning: implicit conversion changes signedness: 'int' to 'uint32_t' (aka 'unsigned int') [-Wsign-conversion]
        r.height = v[2] + ((v[3] & 63) << 8);
                 ~ ~~~~~^~~~~~~~~~~~~~~~~~~~
src/mediafileattribute.cpp:563:29: warning: implicit conversion changes signedness: 'int' to 'uint32_t' (aka 'unsigned int') [-Wsign-conversion]
        r.fps = (v[3] >> 7) + ((v[4] & 63) << 1);
              ~ ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
src/mediafileattribute.cpp:566:48: warning: implicit conversion changes signedness: 'int' to 'uint32_t' (aka 'unsigned int') [-Wsign-conversion]
        r.playtime = (v[4] >> 7) + (v[5] << 1) + (v[6] << 9);
                   ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
src/mediafileattribute.cpp:575:47: warning: implicit conversion changes signedness: 'int' to 'std::basic_string<char>::size_type' (aka 'unsigned long') [-Wsign-conversion]
                Base64::atob(attrs.substr(pos + 3, 11), binary);
                                   ~~~~~~ ~~~~^~~
src/mediafileattribute.cpp:581:39: warning: implicit conversion changes signedness: 'int' to 'uint32_t' (aka 'unsigned int') [-Wsign-conversion]
                r.videocodecid = v[1] + ((v[2] & 15) << 8);
                               ~ ~~~~~^~~~~~~~~~~~~~~~~~~~
src/mediafileattribute.cpp:582:46: warning: implicit conversion changes signedness: 'int' to 'uint32_t' (aka 'unsigned int') [-Wsign-conversion]
                r.audiocodecid = (v[2] >> 4) + (v[3] << 4);
                               ~ ~~~~~~~~~~~~^~~~~~~~~~~~~
22 warnings generated.
  CXX      src/libmega_la-node.lo
In file included from src/node.cpp:22:
In file included from ./include/mega/node.h:26:
In file included from ./include/mega/filefingerprint.h:26:
In file included from ./include/mega/types.h:76:
In file included from ./include/mega/crypto/cryptopp.h:28:
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/ccm.h:50:11: warning: implicit conversion changes signedness: 'const int' to 'unsigned int' [-Wsign-conversion]
                {return m_digestSize;}
                 ~~~~~~ ^~~~~~~~~~~~
In file included from src/node.cpp:22:
In file included from ./include/mega/node.h:26:
In file included from ./include/mega/filefingerprint.h:26:
In file included from ./include/mega/types.h:76:
In file included from ./include/mega/crypto/cryptopp.h:39:
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:138:6: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
        if (timeInSeconds)
        ~~  ^~~~~~~~~~~~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:141:29: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
        for (i=1; i<iterations || (timeInSeconds && (i%128!=0 || timer.ElapsedTimeAsDouble() < timeInSeconds)); i++)
                                   ^~~~~~~~~~~~~ ~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:285:7: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                if (timeInSeconds)
                ~~  ^~~~~~~~~~~~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:291:30: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                for (j=1; j<iterations || (timeInSeconds && (j%128!=0 || timer.ElapsedTimeAsDouble() < timeInSeconds)); j++)
                                           ^~~~~~~~~~~~~ ~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:297:7: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                if (timeInSeconds)
                ~~  ^~~~~~~~~~~~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:441:7: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                if (timeInSeconds)
                ~~  ^~~~~~~~~~~~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:447:30: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                for (i=1; i<iterations || (timeInSeconds && (i%128!=0 || timer.ElapsedTimeAsDouble() < timeInSeconds)); i++)
                                           ^~~~~~~~~~~~~ ~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:450:7: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                if (timeInSeconds)
                ~~  ^~~~~~~~~~~~~
In file included from src/node.cpp:23:
In file included from ./include/mega/megaclient.h:26:
In file included from ./include/mega/db.h:26:
./include/mega/logging.h:605:41: warning: implicit conversion changes signedness: 'size_t' (aka 'unsigned long') to 'std::streamsize' (aka 'long') [-Wsign-conversion]
        ostr.write(obj.constChar(), obj.size());
             ~~~~~                  ~~~~^~~~~~
In file included from src/node.cpp:23:
In file included from ./include/mega/megaclient.h:43:
./include/mega/setandelement.h:173:63: warning: implicit conversion changes signedness: 'int' to 'const uint64_t' (aka 'const unsigned long long') [-Wsign-conversion]
        void setChanged(int changeType) { if (validChangeType(changeType, CH_EL_SIZE)) mChanges[changeType] = 1; }
                                              ~~~~~~~~~~~~~~~ ^~~~~~~~~~
./include/mega/setandelement.h:173:97: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        void setChanged(int changeType) { if (validChangeType(changeType, CH_EL_SIZE)) mChanges[changeType] = 1; }
                                                                                       ~~~~~~~~ ^~~~~~~~~~
./include/mega/setandelement.h:279:63: warning: implicit conversion changes signedness: 'int' to 'const uint64_t' (aka 'const unsigned long long') [-Wsign-conversion]
        void setChanged(int changeType) { if (validChangeType(changeType, CH_SIZE)) mChanges[changeType] = 1; }
                                              ~~~~~~~~~~~~~~~ ^~~~~~~~~~
./include/mega/setandelement.h:279:94: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        void setChanged(int changeType) { if (validChangeType(changeType, CH_SIZE)) mChanges[changeType] = 1; }
                                                                                    ~~~~~~~~ ^~~~~~~~~~
In file included from src/node.cpp:33:
In file included from ./include/mega/posix/megafs.h:46:
./include/mega.h:33:32: warning: unknown warning group '-Wunqualified-std-cast-call', ignored [-Wunknown-warning-option]
#pragma GCC diagnostic ignored "-Wunqualified-std-cast-call"
                               ^
In file included from src/node.cpp:33:
In file included from ./include/mega/posix/megafs.h:46:
In file included from ./include/mega.h:91:
./include/mega/db/sqlite.h:144:10: warning: 'mega::SqliteAccountState::put' hides overloaded virtual function [-Woverloaded-virtual]
    bool put(Node* node) override;
         ^
./include/mega/db/sqlite.h:53:10: note: hidden overloaded virtual function 'mega::SqliteDbTable::put' declared here: different number of parameters (3 vs 1)
    bool put(uint32_t, char*, unsigned) override;
         ^
src/node.cpp:657:29: warning: implicit conversion changes signedness: 'int' to 'std::basic_string<char>::size_type' (aka 'unsigned long') [-Wsign-conversion]
        nodekey.assign(ptr, keylen);
                ~~~~~~      ^~~~~~
src/node.cpp:972:43: warning: implicit conversion changes signedness: 'char' to 'std::basic_string<char>::size_type' (aka 'unsigned long') [-Wsign-conversion]
        d->append(plink->mAuthKey.data(), authKeySize);
           ~~~~~~                         ^~~~~~~~~~~
src/node.cpp:998:48: warning: implicit conversion changes signedness: 'short' to 'unsigned long' [-Wsign-conversion]
            numshares = static_cast<short int>(numshares + outshares->size());
                                               ^~~~~~~~~ ~
src/node.cpp:1002:48: warning: implicit conversion changes signedness: 'short' to 'unsigned long' [-Wsign-conversion]
            numshares = static_cast<short int>(numshares + pendingshares->size());
                                               ^~~~~~~~~ ~
src/node.cpp:1078:46: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
        std::unique_ptr<byte[]> buf(new byte[l]); // ::mega::make_unique<> does not support T[] specialisation
                                    ~~~      ^
src/node.cpp:1084:46: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
            if (!key->cbc_decrypt(buf.get(), l))
                      ~~~~~~~~~~~            ^
src/node.cpp:1592:36: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion]
    if (client->decryptkey(k, key, keylength, sc, 0, nodehandle))
                ~~~~~~~~~~         ^~~~~~~~~
src/node.cpp:1649:37: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion]
    if (!client->decryptkey(k, key, keylength, sc, 0, UNDEF))
                 ~~~~~~~~~~         ^~~~~~~~~
src/node.cpp:2531:22: warning: implicit conversion changes signedness: 'uint32_t' (aka 'unsigned int') to 'int32_t' (aka 'int') [-Wsign-conversion]
    l->parent_dbid = parent_dbid;
                   ~ ^~~~~~~~~~~
25 warnings generated.
  CXX      src/libmega_la-process.lo
In file included from src/process.cpp:22:
In file included from ./include/mega/process.h:25:
In file included from ./include/mega/utils.h:30:
In file included from ./include/mega/types.h:76:
In file included from ./include/mega/crypto/cryptopp.h:28:
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/ccm.h:50:11: warning: implicit conversion changes signedness: 'const int' to 'unsigned int' [-Wsign-conversion]
                {return m_digestSize;}
                 ~~~~~~ ^~~~~~~~~~~~
In file included from src/process.cpp:22:
In file included from ./include/mega/process.h:25:
In file included from ./include/mega/utils.h:30:
In file included from ./include/mega/types.h:76:
In file included from ./include/mega/crypto/cryptopp.h:39:
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:138:6: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
        if (timeInSeconds)
        ~~  ^~~~~~~~~~~~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:141:29: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
        for (i=1; i<iterations || (timeInSeconds && (i%128!=0 || timer.ElapsedTimeAsDouble() < timeInSeconds)); i++)
                                   ^~~~~~~~~~~~~ ~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:285:7: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                if (timeInSeconds)
                ~~  ^~~~~~~~~~~~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:291:30: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                for (j=1; j<iterations || (timeInSeconds && (j%128!=0 || timer.ElapsedTimeAsDouble() < timeInSeconds)); j++)
                                           ^~~~~~~~~~~~~ ~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:297:7: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                if (timeInSeconds)
                ~~  ^~~~~~~~~~~~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:441:7: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                if (timeInSeconds)
                ~~  ^~~~~~~~~~~~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:447:30: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                for (i=1; i<iterations || (timeInSeconds && (i%128!=0 || timer.ElapsedTimeAsDouble() < timeInSeconds)); i++)
                                           ^~~~~~~~~~~~~ ~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:450:7: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                if (timeInSeconds)
                ~~  ^~~~~~~~~~~~~
In file included from src/process.cpp:24:
./include/mega.h:33:32: warning: unknown warning group '-Wunqualified-std-cast-call', ignored [-Wunknown-warning-option]
#pragma GCC diagnostic ignored "-Wunqualified-std-cast-call"
                               ^
In file included from src/process.cpp:24:
In file included from ./include/mega.h:52:
In file included from ./include/mega/db.h:26:
./include/mega/logging.h:605:41: warning: implicit conversion changes signedness: 'size_t' (aka 'unsigned long') to 'std::streamsize' (aka 'long') [-Wsign-conversion]
        ostr.write(obj.constChar(), obj.size());
             ~~~~~                  ~~~~^~~~~~
In file included from src/process.cpp:24:
In file included from ./include/mega.h:54:
In file included from ./include/mega/pubkeyaction.h:25:
In file included from ./include/mega/megaclient.h:43:
./include/mega/setandelement.h:173:63: warning: implicit conversion changes signedness: 'int' to 'const uint64_t' (aka 'const unsigned long long') [-Wsign-conversion]
        void setChanged(int changeType) { if (validChangeType(changeType, CH_EL_SIZE)) mChanges[changeType] = 1; }
                                              ~~~~~~~~~~~~~~~ ^~~~~~~~~~
./include/mega/setandelement.h:173:97: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        void setChanged(int changeType) { if (validChangeType(changeType, CH_EL_SIZE)) mChanges[changeType] = 1; }
                                                                                       ~~~~~~~~ ^~~~~~~~~~
./include/mega/setandelement.h:279:63: warning: implicit conversion changes signedness: 'int' to 'const uint64_t' (aka 'const unsigned long long') [-Wsign-conversion]
        void setChanged(int changeType) { if (validChangeType(changeType, CH_SIZE)) mChanges[changeType] = 1; }
                                              ~~~~~~~~~~~~~~~ ^~~~~~~~~~
./include/mega/setandelement.h:279:94: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        void setChanged(int changeType) { if (validChangeType(changeType, CH_SIZE)) mChanges[changeType] = 1; }
                                                                                    ~~~~~~~~ ^~~~~~~~~~
In file included from src/process.cpp:24:
In file included from ./include/mega.h:91:
./include/mega/db/sqlite.h:144:10: warning: 'mega::SqliteAccountState::put' hides overloaded virtual function [-Woverloaded-virtual]
    bool put(Node* node) override;
         ^
./include/mega/db/sqlite.h:53:10: note: hidden overloaded virtual function 'mega::SqliteDbTable::put' declared here: different number of parameters (3 vs 1)
    bool put(uint32_t, char*, unsigned) override;
         ^
src/process.cpp:761:30: warning: implicit conversion changes signedness: 'unsigned long long' to 'mega::m_time_t' (aka 'long long') [-Wsign-conversion]
    m_time_t etta = totalSec - elapsed;
             ~~~~   ~~~~~~~~~^~~~~~~~~
src/process.cpp:761:32: warning: implicit conversion changes signedness: 'mega::m_time_t' (aka 'long long') to 'unsigned long long' [-Wsign-conversion]
    m_time_t etta = totalSec - elapsed;
                             ~ ^~~~~~~
In file included from src/process.cpp:22:
./include/mega/process.h:138:10: warning: private field 'redirectStdin' is not used [-Wunused-private-field]
    bool redirectStdin = false;
         ^
19 warnings generated.
  CXX      src/libmega_la-pubkeyaction.lo
In file included from src/pubkeyaction.cpp:22:
In file included from ./include/mega/pubkeyaction.h:25:
In file included from ./include/mega/megaclient.h:25:
In file included from ./include/mega/json.h:25:
In file included from ./include/mega/types.h:76:
In file included from ./include/mega/crypto/cryptopp.h:28:
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/ccm.h:50:11: warning: implicit conversion changes signedness: 'const int' to 'unsigned int' [-Wsign-conversion]
                {return m_digestSize;}
                 ~~~~~~ ^~~~~~~~~~~~
In file included from src/pubkeyaction.cpp:22:
In file included from ./include/mega/pubkeyaction.h:25:
In file included from ./include/mega/megaclient.h:25:
In file included from ./include/mega/json.h:25:
In file included from ./include/mega/types.h:76:
In file included from ./include/mega/crypto/cryptopp.h:39:
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:138:6: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
        if (timeInSeconds)
        ~~  ^~~~~~~~~~~~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:141:29: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
        for (i=1; i<iterations || (timeInSeconds && (i%128!=0 || timer.ElapsedTimeAsDouble() < timeInSeconds)); i++)
                                   ^~~~~~~~~~~~~ ~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:285:7: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                if (timeInSeconds)
                ~~  ^~~~~~~~~~~~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:291:30: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                for (j=1; j<iterations || (timeInSeconds && (j%128!=0 || timer.ElapsedTimeAsDouble() < timeInSeconds)); j++)
                                           ^~~~~~~~~~~~~ ~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:297:7: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                if (timeInSeconds)
                ~~  ^~~~~~~~~~~~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:441:7: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                if (timeInSeconds)
                ~~  ^~~~~~~~~~~~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:447:30: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                for (i=1; i<iterations || (timeInSeconds && (i%128!=0 || timer.ElapsedTimeAsDouble() < timeInSeconds)); i++)
                                           ^~~~~~~~~~~~~ ~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:450:7: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                if (timeInSeconds)
                ~~  ^~~~~~~~~~~~~
In file included from src/pubkeyaction.cpp:22:
In file included from ./include/mega/pubkeyaction.h:25:
In file included from ./include/mega/megaclient.h:26:
In file included from ./include/mega/db.h:26:
./include/mega/logging.h:605:41: warning: implicit conversion changes signedness: 'size_t' (aka 'unsigned long') to 'std::streamsize' (aka 'long') [-Wsign-conversion]
        ostr.write(obj.constChar(), obj.size());
             ~~~~~                  ~~~~^~~~~~
In file included from src/pubkeyaction.cpp:22:
In file included from ./include/mega/pubkeyaction.h:25:
In file included from ./include/mega/megaclient.h:43:
./include/mega/setandelement.h:173:63: warning: implicit conversion changes signedness: 'int' to 'const uint64_t' (aka 'const unsigned long long') [-Wsign-conversion]
        void setChanged(int changeType) { if (validChangeType(changeType, CH_EL_SIZE)) mChanges[changeType] = 1; }
                                              ~~~~~~~~~~~~~~~ ^~~~~~~~~~
./include/mega/setandelement.h:173:97: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        void setChanged(int changeType) { if (validChangeType(changeType, CH_EL_SIZE)) mChanges[changeType] = 1; }
                                                                                       ~~~~~~~~ ^~~~~~~~~~
./include/mega/setandelement.h:279:63: warning: implicit conversion changes signedness: 'int' to 'const uint64_t' (aka 'const unsigned long long') [-Wsign-conversion]
        void setChanged(int changeType) { if (validChangeType(changeType, CH_SIZE)) mChanges[changeType] = 1; }
                                              ~~~~~~~~~~~~~~~ ^~~~~~~~~~
./include/mega/setandelement.h:279:94: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        void setChanged(int changeType) { if (validChangeType(changeType, CH_SIZE)) mChanges[changeType] = 1; }
                                                                                    ~~~~~~~~ ^~~~~~~~~~
src/pubkeyaction.cpp:56:46: warning: implicit conversion changes signedness: 'int' to 'std::basic_string<char>::size_type' (aka 'unsigned long') [-Wsign-conversion]
            nn[i].nodekey.assign((char*)buf, t);
                          ~~~~~~             ^
15 warnings generated.
  CXX      src/libmega_la-raid.lo
In file included from src/raid.cpp:22:
In file included from ./include/mega/raid.h:25:
In file included from ./include/mega/http.h:26:
In file included from ./include/mega/types.h:76:
In file included from ./include/mega/crypto/cryptopp.h:28:
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/ccm.h:50:11: warning: implicit conversion changes signedness: 'const int' to 'unsigned int' [-Wsign-conversion]
                {return m_digestSize;}
                 ~~~~~~ ^~~~~~~~~~~~
In file included from src/raid.cpp:22:
In file included from ./include/mega/raid.h:25:
In file included from ./include/mega/http.h:26:
In file included from ./include/mega/types.h:76:
In file included from ./include/mega/crypto/cryptopp.h:39:
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:138:6: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
        if (timeInSeconds)
        ~~  ^~~~~~~~~~~~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:141:29: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
        for (i=1; i<iterations || (timeInSeconds && (i%128!=0 || timer.ElapsedTimeAsDouble() < timeInSeconds)); i++)
                                   ^~~~~~~~~~~~~ ~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:285:7: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                if (timeInSeconds)
                ~~  ^~~~~~~~~~~~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:291:30: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                for (j=1; j<iterations || (timeInSeconds && (j%128!=0 || timer.ElapsedTimeAsDouble() < timeInSeconds)); j++)
                                           ^~~~~~~~~~~~~ ~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:297:7: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                if (timeInSeconds)
                ~~  ^~~~~~~~~~~~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:441:7: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                if (timeInSeconds)
                ~~  ^~~~~~~~~~~~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:447:30: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                for (i=1; i<iterations || (timeInSeconds && (i%128!=0 || timer.ElapsedTimeAsDouble() < timeInSeconds)); i++)
                                           ^~~~~~~~~~~~~ ~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:450:7: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                if (timeInSeconds)
                ~~  ^~~~~~~~~~~~~
In file included from src/raid.cpp:26:
./include/mega.h:33:32: warning: unknown warning group '-Wunqualified-std-cast-call', ignored [-Wunknown-warning-option]
#pragma GCC diagnostic ignored "-Wunqualified-std-cast-call"
                               ^
In file included from src/raid.cpp:26:
In file included from ./include/mega.h:52:
In file included from ./include/mega/db.h:26:
./include/mega/logging.h:605:41: warning: implicit conversion changes signedness: 'size_t' (aka 'unsigned long') to 'std::streamsize' (aka 'long') [-Wsign-conversion]
        ostr.write(obj.constChar(), obj.size());
             ~~~~~                  ~~~~^~~~~~
In file included from src/raid.cpp:26:
In file included from ./include/mega.h:54:
In file included from ./include/mega/pubkeyaction.h:25:
In file included from ./include/mega/megaclient.h:43:
./include/mega/setandelement.h:173:63: warning: implicit conversion changes signedness: 'int' to 'const uint64_t' (aka 'const unsigned long long') [-Wsign-conversion]
        void setChanged(int changeType) { if (validChangeType(changeType, CH_EL_SIZE)) mChanges[changeType] = 1; }
                                              ~~~~~~~~~~~~~~~ ^~~~~~~~~~
./include/mega/setandelement.h:173:97: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        void setChanged(int changeType) { if (validChangeType(changeType, CH_EL_SIZE)) mChanges[changeType] = 1; }
                                                                                       ~~~~~~~~ ^~~~~~~~~~
./include/mega/setandelement.h:279:63: warning: implicit conversion changes signedness: 'int' to 'const uint64_t' (aka 'const unsigned long long') [-Wsign-conversion]
        void setChanged(int changeType) { if (validChangeType(changeType, CH_SIZE)) mChanges[changeType] = 1; }
                                              ~~~~~~~~~~~~~~~ ^~~~~~~~~~
./include/mega/setandelement.h:279:94: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        void setChanged(int changeType) { if (validChangeType(changeType, CH_SIZE)) mChanges[changeType] = 1; }
                                                                                    ~~~~~~~~ ^~~~~~~~~~
In file included from src/raid.cpp:26:
In file included from ./include/mega.h:91:
./include/mega/db/sqlite.h:144:10: warning: 'mega::SqliteAccountState::put' hides overloaded virtual function [-Woverloaded-virtual]
    bool put(Node* node) override;
         ^
./include/mega/db/sqlite.h:53:10: note: hidden overloaded virtual function 'mega::SqliteDbTable::put' declared here: different number of parameters (3 vs 1)
    bool put(uint32_t, char*, unsigned) override;
         ^
src/raid.cpp:228:101: warning: implicit conversion changes signedness: 'm_off_t' (aka 'long long') to 'unsigned long long' [-Wsign-conversion]
                transferPos(i) = connectionpieces.empty() ? raidpartspos : connectionpieces.back()->pos + connectionpieces.back()->buf.datalen();
                                                                           ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ~
src/raid.cpp:228:105: warning: operand of ? changes signedness: 'unsigned long long' to 'm_off_t' (aka 'long long') [-Wsign-conversion]
                transferPos(i) = connectionpieces.empty() ? raidpartspos : connectionpieces.back()->pos + connectionpieces.back()->buf.datalen();
                               ~                                           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/raid.cpp:296:100: warning: implicit conversion changes signedness: 'm_off_t' (aka 'long long') to 'unsigned long long' [-Wsign-conversion]
        m_off_t contiguouspos = connectionpieces.empty() ? raidpartspos : connectionpieces.back()->pos + connectionpieces.back()->buf.datalen();
                                                                          ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ~
src/raid.cpp:296:104: warning: operand of ? changes signedness: 'unsigned long long' to 'm_off_t' (aka 'long long') [-Wsign-conversion]
        m_off_t contiguouspos = connectionpieces.empty() ? raidpartspos : connectionpieces.back()->pos + connectionpieces.back()->buf.datalen();
                ~~~~~~~~~~~~~                                             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/raid.cpp:301:53: warning: implicit conversion changes signedness: 'unsigned long long' to 'm_off_t' (aka 'long long') [-Wsign-conversion]
            transferPos(connectionNum) = piece->pos + piece->buf.datalen();  // in case of download piece arriving after connection failure recovery
                                       ~ ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
src/raid.cpp:301:49: warning: implicit conversion changes signedness: 'm_off_t' (aka 'long long') to 'unsigned long long' [-Wsign-conversion]
            transferPos(connectionNum) = piece->pos + piece->buf.datalen();  // in case of download piece arriving after connection failure recovery
                                         ~~~~~~~^~~ ~
src/raid.cpp:397:47: warning: implicit conversion changes signedness: 'long long' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
                size_t remainingSize = maxpos - curpos;          // Remaining size (current chunk + last chunk)
                       ~~~~~~~~~~~~~   ~~~~~~~^~~~~~~~
src/raid.cpp:399:60: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
                            (curpos + ((remainingSize/2) & - RAIDSECTOR)) :    // Npos moved to half of the remaining size (truncated to RAIDSECTOR)
                                                         ~ ^~~~~~~~~~~~
src/raid.cpp:399:30: warning: implicit conversion changes signedness: 'm_off_t' (aka 'long long') to 'unsigned long long' [-Wsign-conversion]
                            (curpos + ((remainingSize/2) & - RAIDSECTOR)) :    // Npos moved to half of the remaining size (truncated to RAIDSECTOR)
                             ^~~~~~ ~
src/raid.cpp:399:37: warning: operand of ? changes signedness: 'unsigned long long' to 'm_off_t' (aka 'long long') [-Wsign-conversion]
                            (curpos + ((remainingSize/2) & - RAIDSECTOR)) :    // Npos moved to half of the remaining size (truncated to RAIDSECTOR)
                             ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/raid.cpp:482:44: warning: implicit conversion changes signedness: 'unsigned long long' to 'm_off_t' (aka 'long long') [-Wsign-conversion]
    m_off_t newdatafilepos = outputfilepos + leftoverchunk.buf.datalen();
            ~~~~~~~~~~~~~~   ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/raid.cpp:482:30: warning: implicit conversion changes signedness: 'm_off_t' (aka 'long long') to 'unsigned long long' [-Wsign-conversion]
    m_off_t newdatafilepos = outputfilepos + leftoverchunk.buf.datalen();
                             ^~~~~~~~~~~~~ ~
src/raid.cpp:491:65: warning: implicit conversion changes signedness: 'unsigned long long' to 'm_off_t' (aka 'long long') [-Wsign-conversion]
        m_off_t macchunkpos = calcOutputChunkPos(newdatafilepos + partslen * (RAIDPARTS - 1));
                              ~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/raid.cpp:491:50: warning: implicit conversion changes signedness: 'm_off_t' (aka 'long long') to 'unsigned long long' [-Wsign-conversion]
        m_off_t macchunkpos = calcOutputChunkPos(newdatafilepos + partslen * (RAIDPARTS - 1));
                                                 ^~~~~~~~~~~~~~ ~
src/raid.cpp:515:49: warning: implicit conversion changes signedness: 'unsigned long long' to 'm_off_t' (aka 'long long') [-Wsign-conversion]
            FilePiece newleftover(outputfilepos - excessdata, excessdata);
                      ~~~~~~~~~~~ ~~~~~~~~~~~~~~^~~~~~~~~~~~
src/raid.cpp:515:35: warning: implicit conversion changes signedness: 'm_off_t' (aka 'long long') to 'unsigned long long' [-Wsign-conversion]
            FilePiece newleftover(outputfilepos - excessdata, excessdata);
                                  ^~~~~~~~~~~~~ ~
src/raid.cpp:535:80: warning: implicit conversion changes signedness: 'm_off_t' (aka 'long long') to 'unsigned long long' [-Wsign-conversion]
            size_t excess = size_t(outputrec->pos + outputrec->buf.datalen() - deliverlimitpos);
                                                                             ~ ^~~~~~~~~~~~~~~
src/raid.cpp:535:47: warning: implicit conversion changes signedness: 'm_off_t' (aka 'long long') to 'unsigned long long' [-Wsign-conversion]
            size_t excess = size_t(outputrec->pos + outputrec->buf.datalen() - deliverlimitpos);
                                   ~~~~~~~~~~~^~~ ~
src/raid.cpp:686:33: warning: implicit conversion changes signedness: 'unsigned long long' to 'm_off_t' (aka 'long long') [-Wsign-conversion]
    m_off_t finalpos = startpos + buf.datalen();
            ~~~~~~~~   ~~~~~~~~~^~~~~~~~~~~~~~~
src/raid.cpp:686:24: warning: implicit conversion changes signedness: 'm_off_t' (aka 'long long') to 'unsigned long long' [-Wsign-conversion]
    m_off_t finalpos = startpos + buf.datalen();
                       ^~~~~~~~ ~
src/raid.cpp:985:43: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
        l = static_cast<int>(sizeof buf - r);
                                        ~ ^
src/raid.cpp:992:45: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        memcpy(buf + r, fp.buf.datastart(), l);
        ~~~~~~                              ^
src/raid.cpp:993:93: warning: implicit conversion changes signedness: 'int64_t' (aka 'long long') to 'mega::SymmCipher::ctr_iv' (aka 'unsigned long long') [-Wsign-conversion]
        directRead->drn->symmcipher.ctr_crypt(buf, sizeof buf, fp.pos - r, directRead->drn->ctriv, NULL, false);
                                    ~~~~~~~~~                              ~~~~~~~~~~~~~~~~~^~~~~
src/raid.cpp:994:45: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        memcpy(fp.buf.datastart(), buf + r, l);
        ~~~~~~                              ^
src/raid.cpp:1004:107: warning: implicit conversion changes signedness: 'int64_t' (aka 'long long') to 'mega::SymmCipher::ctr_iv' (aka 'unsigned long long') [-Wsign-conversion]
        directRead->drn->symmcipher.ctr_crypt(fp.buf.datastart() + l, t - l, fp.pos + l, directRead->drn->ctriv, NULL, false);
                                    ~~~~~~~~~                                            ~~~~~~~~~~~~~~~~~^~~~~
src/raid.cpp:1004:73: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
        directRead->drn->symmcipher.ctr_crypt(fp.buf.datastart() + l, t - l, fp.pos + l, directRead->drn->ctriv, NULL, false);
                                    ~~~~~~~~~                         ~~^~~
42 warnings generated.
  CXX      src/libmega_la-testhooks.lo
In file included from src/testhooks.cpp:22:
In file included from ./include/mega/testhooks.h:25:
In file included from ./include/mega/types.h:76:
In file included from ./include/mega/crypto/cryptopp.h:28:
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/ccm.h:50:11: warning: implicit conversion changes signedness: 'const int' to 'unsigned int' [-Wsign-conversion]
                {return m_digestSize;}
                 ~~~~~~ ^~~~~~~~~~~~
In file included from src/testhooks.cpp:22:
In file included from ./include/mega/testhooks.h:25:
In file included from ./include/mega/types.h:76:
In file included from ./include/mega/crypto/cryptopp.h:39:
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:138:6: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
        if (timeInSeconds)
        ~~  ^~~~~~~~~~~~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:141:29: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
        for (i=1; i<iterations || (timeInSeconds && (i%128!=0 || timer.ElapsedTimeAsDouble() < timeInSeconds)); i++)
                                   ^~~~~~~~~~~~~ ~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:285:7: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                if (timeInSeconds)
                ~~  ^~~~~~~~~~~~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:291:30: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                for (j=1; j<iterations || (timeInSeconds && (j%128!=0 || timer.ElapsedTimeAsDouble() < timeInSeconds)); j++)
                                           ^~~~~~~~~~~~~ ~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:297:7: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                if (timeInSeconds)
                ~~  ^~~~~~~~~~~~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:441:7: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                if (timeInSeconds)
                ~~  ^~~~~~~~~~~~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:447:30: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                for (i=1; i<iterations || (timeInSeconds && (i%128!=0 || timer.ElapsedTimeAsDouble() < timeInSeconds)); i++)
                                           ^~~~~~~~~~~~~ ~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:450:7: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                if (timeInSeconds)
                ~~  ^~~~~~~~~~~~~
9 warnings generated.
  CXX      src/libmega_la-request.lo
In file included from src/request.cpp:22:
In file included from ./include/mega/request.h:25:
In file included from ./include/mega/types.h:76:
In file included from ./include/mega/crypto/cryptopp.h:28:
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/ccm.h:50:11: warning: implicit conversion changes signedness: 'const int' to 'unsigned int' [-Wsign-conversion]
                {return m_digestSize;}
                 ~~~~~~ ^~~~~~~~~~~~
In file included from src/request.cpp:22:
In file included from ./include/mega/request.h:25:
In file included from ./include/mega/types.h:76:
In file included from ./include/mega/crypto/cryptopp.h:39:
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:138:6: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
        if (timeInSeconds)
        ~~  ^~~~~~~~~~~~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:141:29: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
        for (i=1; i<iterations || (timeInSeconds && (i%128!=0 || timer.ElapsedTimeAsDouble() < timeInSeconds)); i++)
                                   ^~~~~~~~~~~~~ ~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:285:7: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                if (timeInSeconds)
                ~~  ^~~~~~~~~~~~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:291:30: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                for (j=1; j<iterations || (timeInSeconds && (j%128!=0 || timer.ElapsedTimeAsDouble() < timeInSeconds)); j++)
                                           ^~~~~~~~~~~~~ ~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:297:7: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                if (timeInSeconds)
                ~~  ^~~~~~~~~~~~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:441:7: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                if (timeInSeconds)
                ~~  ^~~~~~~~~~~~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:447:30: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                for (i=1; i<iterations || (timeInSeconds && (i%128!=0 || timer.ElapsedTimeAsDouble() < timeInSeconds)); i++)
                                           ^~~~~~~~~~~~~ ~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:450:7: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                if (timeInSeconds)
                ~~  ^~~~~~~~~~~~~
In file included from src/request.cpp:24:
./include/mega/logging.h:605:41: warning: implicit conversion changes signedness: 'size_t' (aka 'unsigned long') to 'std::streamsize' (aka 'long') [-Wsign-conversion]
        ostr.write(obj.constChar(), obj.size());
             ~~~~~                  ~~~~^~~~~~
In file included from src/request.cpp:25:
In file included from ./include/mega/megaclient.h:43:
./include/mega/setandelement.h:173:63: warning: implicit conversion changes signedness: 'int' to 'const uint64_t' (aka 'const unsigned long long') [-Wsign-conversion]
        void setChanged(int changeType) { if (validChangeType(changeType, CH_EL_SIZE)) mChanges[changeType] = 1; }
                                              ~~~~~~~~~~~~~~~ ^~~~~~~~~~
./include/mega/setandelement.h:173:97: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        void setChanged(int changeType) { if (validChangeType(changeType, CH_EL_SIZE)) mChanges[changeType] = 1; }
                                                                                       ~~~~~~~~ ^~~~~~~~~~
./include/mega/setandelement.h:279:63: warning: implicit conversion changes signedness: 'int' to 'const uint64_t' (aka 'const unsigned long long') [-Wsign-conversion]
        void setChanged(int changeType) { if (validChangeType(changeType, CH_SIZE)) mChanges[changeType] = 1; }
                                              ~~~~~~~~~~~~~~~ ^~~~~~~~~~
./include/mega/setandelement.h:279:94: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        void setChanged(int changeType) { if (validChangeType(changeType, CH_SIZE)) mChanges[changeType] = 1; }
                                                                                    ~~~~~~~~ ^~~~~~~~~~
src/request.cpp:62:29: warning: implicit conversion changes signedness: 'int' to 'std::vector<std::unique_ptr<mega::Command>>::size_type' (aka 'unsigned long') [-Wsign-conversion]
            req.append(cmds[i]->getJSON(client));
                       ~~~~ ^
src/request.cpp:64:59: warning: implicit conversion changes signedness: 'int' to 'std::vector<std::unique_ptr<mega::Command>>::size_type' (aka 'unsigned long') [-Wsign-conversion]
            cachedSuppressSID = cachedSuppressSID && cmds[i]->suppressSID;
                                                     ~~~~ ^
src/request.cpp:65:27: warning: implicit conversion changes signedness: 'int' to 'std::vector<std::unique_ptr<mega::Command>>::size_type' (aka 'unsigned long') [-Wsign-conversion]
            ++counts[cmds[i]->commandStr];
                     ~~~~ ^
17 warnings generated.
  CXX      src/libmega_la-serialize64.lo
In file included from src/serialize64.cpp:22:
In file included from ./include/mega/serialize64.h:25:
In file included from ./include/mega/types.h:76:
In file included from ./include/mega/crypto/cryptopp.h:28:
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/ccm.h:50:11: warning: implicit conversion changes signedness: 'const int' to 'unsigned int' [-Wsign-conversion]
                {return m_digestSize;}
                 ~~~~~~ ^~~~~~~~~~~~
In file included from src/serialize64.cpp:22:
In file included from ./include/mega/serialize64.h:25:
In file included from ./include/mega/types.h:76:
In file included from ./include/mega/crypto/cryptopp.h:39:
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:138:6: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
        if (timeInSeconds)
        ~~  ^~~~~~~~~~~~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:141:29: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
        for (i=1; i<iterations || (timeInSeconds && (i%128!=0 || timer.ElapsedTimeAsDouble() < timeInSeconds)); i++)
                                   ^~~~~~~~~~~~~ ~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:285:7: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                if (timeInSeconds)
                ~~  ^~~~~~~~~~~~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:291:30: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                for (j=1; j<iterations || (timeInSeconds && (j%128!=0 || timer.ElapsedTimeAsDouble() < timeInSeconds)); j++)
                                           ^~~~~~~~~~~~~ ~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:297:7: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                if (timeInSeconds)
                ~~  ^~~~~~~~~~~~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:441:7: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                if (timeInSeconds)
                ~~  ^~~~~~~~~~~~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:447:30: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                for (i=1; i<iterations || (timeInSeconds && (i%128!=0 || timer.ElapsedTimeAsDouble() < timeInSeconds)); i++)
                                           ^~~~~~~~~~~~~ ~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:450:7: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                if (timeInSeconds)
                ~~  ^~~~~~~~~~~~~
9 warnings generated.
  CXX      src/libmega_la-nodemanager.lo
In file included from src/nodemanager.cpp:22:
In file included from ./include/mega/nodemanager.h:28:
In file included from ./include/mega/node.h:26:
In file included from ./include/mega/filefingerprint.h:26:
In file included from ./include/mega/types.h:76:
In file included from ./include/mega/crypto/cryptopp.h:28:
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/ccm.h:50:11: warning: implicit conversion changes signedness: 'const int' to 'unsigned int' [-Wsign-conversion]
                {return m_digestSize;}
                 ~~~~~~ ^~~~~~~~~~~~
In file included from src/nodemanager.cpp:22:
In file included from ./include/mega/nodemanager.h:28:
In file included from ./include/mega/node.h:26:
In file included from ./include/mega/filefingerprint.h:26:
In file included from ./include/mega/types.h:76:
In file included from ./include/mega/crypto/cryptopp.h:39:
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:138:6: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
        if (timeInSeconds)
        ~~  ^~~~~~~~~~~~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:141:29: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
        for (i=1; i<iterations || (timeInSeconds && (i%128!=0 || timer.ElapsedTimeAsDouble() < timeInSeconds)); i++)
                                   ^~~~~~~~~~~~~ ~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:285:7: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                if (timeInSeconds)
                ~~  ^~~~~~~~~~~~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:291:30: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                for (j=1; j<iterations || (timeInSeconds && (j%128!=0 || timer.ElapsedTimeAsDouble() < timeInSeconds)); j++)
                                           ^~~~~~~~~~~~~ ~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:297:7: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                if (timeInSeconds)
                ~~  ^~~~~~~~~~~~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:441:7: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                if (timeInSeconds)
                ~~  ^~~~~~~~~~~~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:447:30: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                for (i=1; i<iterations || (timeInSeconds && (i%128!=0 || timer.ElapsedTimeAsDouble() < timeInSeconds)); i++)
                                           ^~~~~~~~~~~~~ ~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:450:7: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                if (timeInSeconds)
                ~~  ^~~~~~~~~~~~~
In file included from src/nodemanager.cpp:23:
In file included from ./include/mega/megaclient.h:26:
In file included from ./include/mega/db.h:26:
./include/mega/logging.h:605:41: warning: implicit conversion changes signedness: 'size_t' (aka 'unsigned long') to 'std::streamsize' (aka 'long') [-Wsign-conversion]
        ostr.write(obj.constChar(), obj.size());
             ~~~~~                  ~~~~^~~~~~
In file included from src/nodemanager.cpp:23:
In file included from ./include/mega/megaclient.h:43:
./include/mega/setandelement.h:173:63: warning: implicit conversion changes signedness: 'int' to 'const uint64_t' (aka 'const unsigned long long') [-Wsign-conversion]
        void setChanged(int changeType) { if (validChangeType(changeType, CH_EL_SIZE)) mChanges[changeType] = 1; }
                                              ~~~~~~~~~~~~~~~ ^~~~~~~~~~
./include/mega/setandelement.h:173:97: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        void setChanged(int changeType) { if (validChangeType(changeType, CH_EL_SIZE)) mChanges[changeType] = 1; }
                                                                                       ~~~~~~~~ ^~~~~~~~~~
./include/mega/setandelement.h:279:63: warning: implicit conversion changes signedness: 'int' to 'const uint64_t' (aka 'const unsigned long long') [-Wsign-conversion]
        void setChanged(int changeType) { if (validChangeType(changeType, CH_SIZE)) mChanges[changeType] = 1; }
                                              ~~~~~~~~~~~~~~~ ^~~~~~~~~~
./include/mega/setandelement.h:279:94: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        void setChanged(int changeType) { if (validChangeType(changeType, CH_SIZE)) mChanges[changeType] = 1; }
                                                                                    ~~~~~~~~ ^~~~~~~~~~
src/nodemanager.cpp:129:53: warning: implicit conversion changes signedness: 'int' to 'std::basic_string<char>::size_type' (aka 'unsigned long') [-Wsign-conversion]
            base64attrstring.resize(attrlen * 4 / 3 + 4);
                             ~~~~~~ ~~~~~~~~~~~~~~~~^~~
src/nodemanager.cpp:130:37: warning: implicit conversion changes signedness: 'int' to 'std::basic_string<char>::size_type' (aka 'unsigned long') [-Wsign-conversion]
            base64attrstring.resize(Base64::btoa((byte *)n->attrstring->data(), int(n->attrstring->size()), (char *)base64attrstring.data()));
                             ~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/nodemanager.cpp:1507:59: warning: implicit conversion changes signedness: 'unsigned long' to 'std::__wrap_iter<std::pair<unsigned long long, int> *>::difference_type' (aka 'long') [-Wsign-conversion]
                        commands.erase(commands.begin() + i);
                                                        ~ ^
17 warnings generated.
  CXX      src/libmega_la-setandelement.lo
In file included from src/setandelement.cpp:22:
In file included from ./include/mega/base64.h:25:
In file included from ./include/mega/types.h:76:
In file included from ./include/mega/crypto/cryptopp.h:28:
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/ccm.h:50:11: warning: implicit conversion changes signedness: 'const int' to 'unsigned int' [-Wsign-conversion]
                {return m_digestSize;}
                 ~~~~~~ ^~~~~~~~~~~~
In file included from src/setandelement.cpp:22:
In file included from ./include/mega/base64.h:25:
In file included from ./include/mega/types.h:76:
In file included from ./include/mega/crypto/cryptopp.h:39:
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:138:6: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
        if (timeInSeconds)
        ~~  ^~~~~~~~~~~~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:141:29: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
        for (i=1; i<iterations || (timeInSeconds && (i%128!=0 || timer.ElapsedTimeAsDouble() < timeInSeconds)); i++)
                                   ^~~~~~~~~~~~~ ~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:285:7: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                if (timeInSeconds)
                ~~  ^~~~~~~~~~~~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:291:30: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                for (j=1; j<iterations || (timeInSeconds && (j%128!=0 || timer.ElapsedTimeAsDouble() < timeInSeconds)); j++)
                                           ^~~~~~~~~~~~~ ~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:297:7: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                if (timeInSeconds)
                ~~  ^~~~~~~~~~~~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:441:7: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                if (timeInSeconds)
                ~~  ^~~~~~~~~~~~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:447:30: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                for (i=1; i<iterations || (timeInSeconds && (i%128!=0 || timer.ElapsedTimeAsDouble() < timeInSeconds)); i++)
                                           ^~~~~~~~~~~~~ ~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:450:7: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                if (timeInSeconds)
                ~~  ^~~~~~~~~~~~~
In file included from src/setandelement.cpp:23:
./include/mega/setandelement.h:173:63: warning: implicit conversion changes signedness: 'int' to 'const uint64_t' (aka 'const unsigned long long') [-Wsign-conversion]
        void setChanged(int changeType) { if (validChangeType(changeType, CH_EL_SIZE)) mChanges[changeType] = 1; }
                                              ~~~~~~~~~~~~~~~ ^~~~~~~~~~
./include/mega/setandelement.h:173:97: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        void setChanged(int changeType) { if (validChangeType(changeType, CH_EL_SIZE)) mChanges[changeType] = 1; }
                                                                                       ~~~~~~~~ ^~~~~~~~~~
./include/mega/setandelement.h:279:63: warning: implicit conversion changes signedness: 'int' to 'const uint64_t' (aka 'const unsigned long long') [-Wsign-conversion]
        void setChanged(int changeType) { if (validChangeType(changeType, CH_SIZE)) mChanges[changeType] = 1; }
                                              ~~~~~~~~~~~~~~~ ^~~~~~~~~~
./include/mega/setandelement.h:279:94: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        void setChanged(int changeType) { if (validChangeType(changeType, CH_SIZE)) mChanges[changeType] = 1; }
                                                                                    ~~~~~~~~ ^~~~~~~~~~
13 warnings generated.
  CXX      src/libmega_la-share.lo
In file included from src/share.cpp:22:
In file included from ./include/mega/share.h:25:
In file included from ./include/mega/types.h:76:
In file included from ./include/mega/crypto/cryptopp.h:28:
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/ccm.h:50:11: warning: implicit conversion changes signedness: 'const int' to 'unsigned int' [-Wsign-conversion]
                {return m_digestSize;}
                 ~~~~~~ ^~~~~~~~~~~~
In file included from src/share.cpp:22:
In file included from ./include/mega/share.h:25:
In file included from ./include/mega/types.h:76:
In file included from ./include/mega/crypto/cryptopp.h:39:
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:138:6: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
        if (timeInSeconds)
        ~~  ^~~~~~~~~~~~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:141:29: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
        for (i=1; i<iterations || (timeInSeconds && (i%128!=0 || timer.ElapsedTimeAsDouble() < timeInSeconds)); i++)
                                   ^~~~~~~~~~~~~ ~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:285:7: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                if (timeInSeconds)
                ~~  ^~~~~~~~~~~~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:291:30: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                for (j=1; j<iterations || (timeInSeconds && (j%128!=0 || timer.ElapsedTimeAsDouble() < timeInSeconds)); j++)
                                           ^~~~~~~~~~~~~ ~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:297:7: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                if (timeInSeconds)
                ~~  ^~~~~~~~~~~~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:441:7: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                if (timeInSeconds)
                ~~  ^~~~~~~~~~~~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:447:30: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                for (i=1; i<iterations || (timeInSeconds && (i%128!=0 || timer.ElapsedTimeAsDouble() < timeInSeconds)); i++)
                                           ^~~~~~~~~~~~~ ~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:450:7: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                if (timeInSeconds)
                ~~  ^~~~~~~~~~~~~
In file included from src/share.cpp:22:
In file included from ./include/mega/share.h:27:
In file included from ./include/mega/megaclient.h:26:
In file included from ./include/mega/db.h:26:
./include/mega/logging.h:605:41: warning: implicit conversion changes signedness: 'size_t' (aka 'unsigned long') to 'std::streamsize' (aka 'long') [-Wsign-conversion]
        ostr.write(obj.constChar(), obj.size());
             ~~~~~                  ~~~~^~~~~~
In file included from src/share.cpp:22:
In file included from ./include/mega/share.h:27:
In file included from ./include/mega/megaclient.h:43:
./include/mega/setandelement.h:173:63: warning: implicit conversion changes signedness: 'int' to 'const uint64_t' (aka 'const unsigned long long') [-Wsign-conversion]
        void setChanged(int changeType) { if (validChangeType(changeType, CH_EL_SIZE)) mChanges[changeType] = 1; }
                                              ~~~~~~~~~~~~~~~ ^~~~~~~~~~
./include/mega/setandelement.h:173:97: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        void setChanged(int changeType) { if (validChangeType(changeType, CH_EL_SIZE)) mChanges[changeType] = 1; }
                                                                                       ~~~~~~~~ ^~~~~~~~~~
./include/mega/setandelement.h:279:63: warning: implicit conversion changes signedness: 'int' to 'const uint64_t' (aka 'const unsigned long long') [-Wsign-conversion]
        void setChanged(int changeType) { if (validChangeType(changeType, CH_SIZE)) mChanges[changeType] = 1; }
                                              ~~~~~~~~~~~~~~~ ^~~~~~~~~~
./include/mega/setandelement.h:279:94: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        void setChanged(int changeType) { if (validChangeType(changeType, CH_SIZE)) mChanges[changeType] = 1; }
                                                                                    ~~~~~~~~ ^~~~~~~~~~
14 warnings generated.
  CXX      src/libmega_la-sharenodekeys.lo
In file included from src/sharenodekeys.cpp:22:
In file included from ./include/mega/sharenodekeys.h:25:
In file included from ./include/mega/types.h:76:
In file included from ./include/mega/crypto/cryptopp.h:28:
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/ccm.h:50:11: warning: implicit conversion changes signedness: 'const int' to 'unsigned int' [-Wsign-conversion]
                {return m_digestSize;}
                 ~~~~~~ ^~~~~~~~~~~~
In file included from src/sharenodekeys.cpp:22:
In file included from ./include/mega/sharenodekeys.h:25:
In file included from ./include/mega/types.h:76:
In file included from ./include/mega/crypto/cryptopp.h:39:
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:138:6: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
        if (timeInSeconds)
        ~~  ^~~~~~~~~~~~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:141:29: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
        for (i=1; i<iterations || (timeInSeconds && (i%128!=0 || timer.ElapsedTimeAsDouble() < timeInSeconds)); i++)
                                   ^~~~~~~~~~~~~ ~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:285:7: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                if (timeInSeconds)
                ~~  ^~~~~~~~~~~~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:291:30: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                for (j=1; j<iterations || (timeInSeconds && (j%128!=0 || timer.ElapsedTimeAsDouble() < timeInSeconds)); j++)
                                           ^~~~~~~~~~~~~ ~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:297:7: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                if (timeInSeconds)
                ~~  ^~~~~~~~~~~~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:441:7: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                if (timeInSeconds)
                ~~  ^~~~~~~~~~~~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:447:30: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                for (i=1; i<iterations || (timeInSeconds && (i%128!=0 || timer.ElapsedTimeAsDouble() < timeInSeconds)); i++)
                                           ^~~~~~~~~~~~~ ~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:450:7: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                if (timeInSeconds)
                ~~  ^~~~~~~~~~~~~
In file included from src/sharenodekeys.cpp:25:
In file included from ./include/mega/megaclient.h:26:
In file included from ./include/mega/db.h:26:
./include/mega/logging.h:605:41: warning: implicit conversion changes signedness: 'size_t' (aka 'unsigned long') to 'std::streamsize' (aka 'long') [-Wsign-conversion]
        ostr.write(obj.constChar(), obj.size());
             ~~~~~                  ~~~~^~~~~~
In file included from src/sharenodekeys.cpp:25:
In file included from ./include/mega/megaclient.h:43:
./include/mega/setandelement.h:173:63: warning: implicit conversion changes signedness: 'int' to 'const uint64_t' (aka 'const unsigned long long') [-Wsign-conversion]
        void setChanged(int changeType) { if (validChangeType(changeType, CH_EL_SIZE)) mChanges[changeType] = 1; }
                                              ~~~~~~~~~~~~~~~ ^~~~~~~~~~
./include/mega/setandelement.h:173:97: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        void setChanged(int changeType) { if (validChangeType(changeType, CH_EL_SIZE)) mChanges[changeType] = 1; }
                                                                                       ~~~~~~~~ ^~~~~~~~~~
./include/mega/setandelement.h:279:63: warning: implicit conversion changes signedness: 'int' to 'const uint64_t' (aka 'const unsigned long long') [-Wsign-conversion]
        void setChanged(int changeType) { if (validChangeType(changeType, CH_SIZE)) mChanges[changeType] = 1; }
                                              ~~~~~~~~~~~~~~~ ^~~~~~~~~~
./include/mega/setandelement.h:279:94: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        void setChanged(int changeType) { if (validChangeType(changeType, CH_SIZE)) mChanges[changeType] = 1; }
                                                                                    ~~~~~~~~ ^~~~~~~~~~
src/sharenodekeys.cpp:35:20: warning: implicit conversion changes signedness: 'int' to 'std::vector<mega::Node *>::size_type' (aka 'unsigned long') [-Wsign-conversion]
        if (shares[i] == sn)
            ~~~~~~ ^
src/sharenodekeys.cpp:83:34: warning: implicit conversion changes signedness: 'long' to 'std::basic_string<char>::size_type' (aka 'unsigned long') [-Wsign-conversion]
            keys.append(buf, ptr - buf);
                 ~~~~~~      ~~~~^~~~~
src/sharenodekeys.cpp:94:63: warning: implicit conversion changes signedness: 'int' to 'std::basic_string<char>::size_type' (aka 'unsigned long') [-Wsign-conversion]
            items[items.size() - 1].assign((const char*)item, itemlen);
                                    ~~~~~~                    ^~~~~~~
17 warnings generated.
  CXX      src/libmega_la-sync.lo
In file included from src/sync.cpp:27:
./include/mega.h:33:32: warning: unknown warning group '-Wunqualified-std-cast-call', ignored [-Wunknown-warning-option]
#pragma GCC diagnostic ignored "-Wunqualified-std-cast-call"
                               ^
In file included from src/sync.cpp:27:
In file included from ./include/mega.h:37:
In file included from ./include/mega/types.h:76:
In file included from ./include/mega/crypto/cryptopp.h:28:
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/ccm.h:50:11: warning: implicit conversion changes signedness: 'const int' to 'unsigned int' [-Wsign-conversion]
                {return m_digestSize;}
                 ~~~~~~ ^~~~~~~~~~~~
In file included from src/sync.cpp:27:
In file included from ./include/mega.h:37:
In file included from ./include/mega/types.h:76:
In file included from ./include/mega/crypto/cryptopp.h:39:
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:138:6: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
        if (timeInSeconds)
        ~~  ^~~~~~~~~~~~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:141:29: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
        for (i=1; i<iterations || (timeInSeconds && (i%128!=0 || timer.ElapsedTimeAsDouble() < timeInSeconds)); i++)
                                   ^~~~~~~~~~~~~ ~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:285:7: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                if (timeInSeconds)
                ~~  ^~~~~~~~~~~~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:291:30: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                for (j=1; j<iterations || (timeInSeconds && (j%128!=0 || timer.ElapsedTimeAsDouble() < timeInSeconds)); j++)
                                           ^~~~~~~~~~~~~ ~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:297:7: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                if (timeInSeconds)
                ~~  ^~~~~~~~~~~~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:441:7: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                if (timeInSeconds)
                ~~  ^~~~~~~~~~~~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:447:30: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                for (i=1; i<iterations || (timeInSeconds && (i%128!=0 || timer.ElapsedTimeAsDouble() < timeInSeconds)); i++)
                                           ^~~~~~~~~~~~~ ~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:450:7: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                if (timeInSeconds)
                ~~  ^~~~~~~~~~~~~
In file included from src/sync.cpp:27:
In file included from ./include/mega.h:52:
In file included from ./include/mega/db.h:26:
./include/mega/logging.h:605:41: warning: implicit conversion changes signedness: 'size_t' (aka 'unsigned long') to 'std::streamsize' (aka 'long') [-Wsign-conversion]
        ostr.write(obj.constChar(), obj.size());
             ~~~~~                  ~~~~^~~~~~
In file included from src/sync.cpp:27:
In file included from ./include/mega.h:54:
In file included from ./include/mega/pubkeyaction.h:25:
In file included from ./include/mega/megaclient.h:43:
./include/mega/setandelement.h:173:63: warning: implicit conversion changes signedness: 'int' to 'const uint64_t' (aka 'const unsigned long long') [-Wsign-conversion]
        void setChanged(int changeType) { if (validChangeType(changeType, CH_EL_SIZE)) mChanges[changeType] = 1; }
                                              ~~~~~~~~~~~~~~~ ^~~~~~~~~~
./include/mega/setandelement.h:173:97: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        void setChanged(int changeType) { if (validChangeType(changeType, CH_EL_SIZE)) mChanges[changeType] = 1; }
                                                                                       ~~~~~~~~ ^~~~~~~~~~
./include/mega/setandelement.h:279:63: warning: implicit conversion changes signedness: 'int' to 'const uint64_t' (aka 'const unsigned long long') [-Wsign-conversion]
        void setChanged(int changeType) { if (validChangeType(changeType, CH_SIZE)) mChanges[changeType] = 1; }
                                              ~~~~~~~~~~~~~~~ ^~~~~~~~~~
./include/mega/setandelement.h:279:94: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        void setChanged(int changeType) { if (validChangeType(changeType, CH_SIZE)) mChanges[changeType] = 1; }
                                                                                    ~~~~~~~~ ^~~~~~~~~~
In file included from src/sync.cpp:27:
In file included from ./include/mega.h:91:
./include/mega/db/sqlite.h:144:10: warning: 'mega::SqliteAccountState::put' hides overloaded virtual function [-Woverloaded-virtual]
    bool put(Node* node) override;
         ^
./include/mega/db/sqlite.h:53:10: note: hidden overloaded virtual function 'mega::SqliteDbTable::put' declared here: different number of parameters (3 vs 1)
    bool put(uint32_t, char*, unsigned) override;
         ^
src/sync.cpp:353:36: warning: implicit conversion changes signedness: 'long' to 'std::vector<Element>::size_type' (aka 'unsigned long') [-Wsign-conversion]
        elements.reserve(nodeCount * fileCount);
                 ~~~~~~~ ~~~~~~~~~~^~~~~~~~~~~
src/sync.cpp:515:20: warning: implicit conversion changes signedness: 'int32_t' (aka 'int') to 'unsigned int' [-Wsign-conversion]
    tc.mPending += adjustQueued;
                ~~ ^~~~~~~~~~~~
src/sync.cpp:516:22: warning: implicit conversion changes signedness: 'int32_t' (aka 'int') to 'unsigned int' [-Wsign-conversion]
    tc.mCompleted += adjustCompleted;
                  ~~ ^~~~~~~~~~~~~~~
src/sync.cpp:517:25: warning: implicit conversion changes signedness: 'm_off_t' (aka 'long long') to 'unsigned long long' [-Wsign-conversion]
    tc.mPendingBytes += adjustQueuedBytes;
                     ~~ ^~~~~~~~~~~~~~~~~
src/sync.cpp:518:27: warning: implicit conversion changes signedness: 'm_off_t' (aka 'long long') to 'unsigned long long' [-Wsign-conversion]
    tc.mCompletedBytes += adjustCompletedBytes;
                       ~~ ^~~~~~~~~~~~~~~~~~~~
src/sync.cpp:796:19: warning: implicit conversion changes signedness: 'int' to 'std::basic_string<char>::size_type' (aka 'unsigned long') [-Wsign-conversion]
    dbname.resize(Base64::btoa((byte*)tableid, sizeof tableid, (char*)dbname.c_str()));
           ~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/sync.cpp:1050:26: warning: implicit conversion changes signedness: 'uint32_t' (aka 'unsigned int') to 'int32_t' (aka 'int') [-Wsign-conversion]
        l->parent_dbid = parent_dbid;
                       ~ ^~~~~~~~~~~
src/sync.cpp:2341:46: warning: implicit conversion changes signedness: 'long' to 'unsigned long' [-Wsign-conversion]
            snprintf(ptr, sizeof(buf) - (ptr - buf), " %02d.%02d.%02d.%02d", ptm->tm_hour,  ptm->tm_min, ptm->tm_sec, i);
                                      ~  ~~~~^~~~~
src/sync.cpp:4047:44: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
    if (callerCompletion) callerCompletion(nEnabled);
                          ~~~~~~~~~~~~~~~~ ^~~~~~~~
src/sync.cpp:4187:47: warning: implicit conversion changes signedness: 'unsigned long' to 'std::__wrap_iter<std::unique_ptr<mega::UnifiedSync> *>::difference_type' (aka 'long') [-Wsign-conversion]
            mSyncVec.erase(mSyncVec.begin() + i);
                                            ~ ^
src/sync.cpp:4891:36: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
        unsigned int slot = suffix - 0x30; // convert char to int
                     ~~~~   ~~~~~~~^~~~~~
In file included from src/sync.cpp:27:
In file included from ./include/mega.h:41:
In file included from ./include/mega/http.h:29:
./include/mega/utils.h:673:63: warning: implicit conversion changes signedness: 'long long' to 'unsigned long long' [-Wsign-conversion]
    seed ^= std::hash<U>{}(v) + 0x9e3779b9 + (seed<<6) + (seed>>2);
                                                       ~  ~~~~^~~
src/sync.cpp:140:5: note: in instantiation of function template specialization 'mega::hashCombine<long long, long long>' requested here
    hashCombine(ffp.size, other.size);
    ^
In file included from src/sync.cpp:27:
In file included from ./include/mega.h:41:
In file included from ./include/mega/http.h:29:
./include/mega/utils.h:673:51: warning: implicit conversion changes signedness: 'long long' to 'unsigned long long' [-Wsign-conversion]
    seed ^= std::hash<U>{}(v) + 0x9e3779b9 + (seed<<6) + (seed>>2);
                                           ~  ~~~~^~~
29 warnings generated.
  CXX      src/libmega_la-transfer.lo
In file included from src/transfer.cpp:22:
In file included from ./include/mega/transfer.h:25:
In file included from ./include/mega/filefingerprint.h:26:
In file included from ./include/mega/types.h:76:
In file included from ./include/mega/crypto/cryptopp.h:28:
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/ccm.h:50:11: warning: implicit conversion changes signedness: 'const int' to 'unsigned int' [-Wsign-conversion]
                {return m_digestSize;}
                 ~~~~~~ ^~~~~~~~~~~~
In file included from src/transfer.cpp:22:
In file included from ./include/mega/transfer.h:25:
In file included from ./include/mega/filefingerprint.h:26:
In file included from ./include/mega/types.h:76:
In file included from ./include/mega/crypto/cryptopp.h:39:
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:138:6: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
        if (timeInSeconds)
        ~~  ^~~~~~~~~~~~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:141:29: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
        for (i=1; i<iterations || (timeInSeconds && (i%128!=0 || timer.ElapsedTimeAsDouble() < timeInSeconds)); i++)
                                   ^~~~~~~~~~~~~ ~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:285:7: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                if (timeInSeconds)
                ~~  ^~~~~~~~~~~~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:291:30: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                for (j=1; j<iterations || (timeInSeconds && (j%128!=0 || timer.ElapsedTimeAsDouble() < timeInSeconds)); j++)
                                           ^~~~~~~~~~~~~ ~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:297:7: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                if (timeInSeconds)
                ~~  ^~~~~~~~~~~~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:441:7: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                if (timeInSeconds)
                ~~  ^~~~~~~~~~~~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:447:30: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                for (i=1; i<iterations || (timeInSeconds && (i%128!=0 || timer.ElapsedTimeAsDouble() < timeInSeconds)); i++)
                                           ^~~~~~~~~~~~~ ~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:450:7: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                if (timeInSeconds)
                ~~  ^~~~~~~~~~~~~
In file included from src/transfer.cpp:23:
In file included from ./include/mega/megaclient.h:26:
In file included from ./include/mega/db.h:26:
./include/mega/logging.h:605:41: warning: implicit conversion changes signedness: 'size_t' (aka 'unsigned long') to 'std::streamsize' (aka 'long') [-Wsign-conversion]
        ostr.write(obj.constChar(), obj.size());
             ~~~~~                  ~~~~^~~~~~
In file included from src/transfer.cpp:23:
In file included from ./include/mega/megaclient.h:43:
./include/mega/setandelement.h:173:63: warning: implicit conversion changes signedness: 'int' to 'const uint64_t' (aka 'const unsigned long long') [-Wsign-conversion]
        void setChanged(int changeType) { if (validChangeType(changeType, CH_EL_SIZE)) mChanges[changeType] = 1; }
                                              ~~~~~~~~~~~~~~~ ^~~~~~~~~~
./include/mega/setandelement.h:173:97: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        void setChanged(int changeType) { if (validChangeType(changeType, CH_EL_SIZE)) mChanges[changeType] = 1; }
                                                                                       ~~~~~~~~ ^~~~~~~~~~
./include/mega/setandelement.h:279:63: warning: implicit conversion changes signedness: 'int' to 'const uint64_t' (aka 'const unsigned long long') [-Wsign-conversion]
        void setChanged(int changeType) { if (validChangeType(changeType, CH_SIZE)) mChanges[changeType] = 1; }
                                              ~~~~~~~~~~~~~~~ ^~~~~~~~~~
./include/mega/setandelement.h:279:94: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        void setChanged(int changeType) { if (validChangeType(changeType, CH_SIZE)) mChanges[changeType] = 1; }
                                                                                    ~~~~~~~~ ^~~~~~~~~~
src/transfer.cpp:1251:50: warning: implicit conversion changes signedness: 'size_t' (aka 'unsigned long') to 'long long' [-Wsign-conversion]
        mSpeed = mSpeedController.calculateSpeed(len);
                                  ~~~~~~~~~~~~~~ ^~~
src/transfer.cpp:1253:55: warning: implicit conversion changes signedness: 'size_t' (aka 'unsigned long') to 'm_off_t' (aka 'long long') [-Wsign-conversion]
        mDr->drn->client->httpio->updatedownloadspeed(len);
                                  ~~~~~~~~~~~~~~~~~~~ ^~~
src/transfer.cpp:1263:98: warning: implicit conversion changes signedness: 'size_t' (aka 'unsigned long') to 'm_off_t' (aka 'long long') [-Wsign-conversion]
            continueDirectRead = mDr->drn->client->app->pread_data(outputPiece->buf.datastart(), len, mPos, mSpeed, mMeanSpeed, mDr->appdata);
                                                        ~~~~~~~~~~                               ^~~
src/transfer.cpp:1517:60: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
                                        (mDr->drn->client->minstreamingrate / numParts) :
                                         ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ ~
src/transfer.cpp:1519:86: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
    if (isRaid) { minSpeedPerConnection = (minSpeedPerConnection + RAIDSECTOR - 1) & - RAIDSECTOR; } // round up to a RAIDSECTOR divisible value
                                                                                   ~ ^~~~~~~~~~~~
src/transfer.cpp:1522:47: warning: implicit conversion changes signedness: 'int' to 'std::vector<std::unique_ptr<mega::HttpReq>>::size_type' (aka 'unsigned long') [-Wsign-conversion]
        std::unique_ptr<HttpReq>& req = mReqs[connectionNum];
                                        ~~~~~ ^~~~~~~~~~~~~
src/transfer.cpp:1532:86: warning: implicit conversion changes signedness: 'int' to 'std::vector<std::pair<long long, long long>>::size_type' (aka 'unsigned long') [-Wsign-conversion]
                m_off_t chunkTime = static_cast<m_off_t>(lastDataTime) - mThroughput[connectionNum].second;
                                                                         ~~~~~~~~~~~ ^~~~~~~~~~~~~
src/transfer.cpp:1538:114: warning: implicit conversion changes signedness: 'int' to 'std::vector<std::pair<long long, long long>>::size_type' (aka 'unsigned long') [-Wsign-conversion]
                    m_off_t updatedThroughput = calcThroughput(mThroughput[connectionNum].first + n, mThroughput[connectionNum].second + chunkTime) * 1000;
                                                                                                     ~~~~~~~~~~~ ^~~~~~~~~~~~~
src/transfer.cpp:1538:76: warning: implicit conversion changes signedness: 'int' to 'std::vector<std::pair<long long, long long>>::size_type' (aka 'unsigned long') [-Wsign-conversion]
                    m_off_t updatedThroughput = calcThroughput(mThroughput[connectionNum].first + n, mThroughput[connectionNum].second + chunkTime) * 1000;
                                                               ~~~~~~~~~~~ ^~~~~~~~~~~~~
src/transfer.cpp:1572:64: warning: implicit conversion changes signedness: 'int' to 'std::vector<std::pair<long long, long long>>::size_type' (aka 'unsigned long') [-Wsign-conversion]
                            << ", submitted = " << mThroughput[connectionNum].first << " [this = " << this << "]";
                                                   ~~~~~~~~~~~ ^~~~~~~~~~~~~
src/transfer.cpp:1577:33: warning: implicit conversion changes signedness: 'int' to 'std::vector<std::pair<long long, long long>>::size_type' (aka 'unsigned long') [-Wsign-conversion]
                    mThroughput[connectionNum].first += static_cast<m_off_t>(n);
                    ~~~~~~~~~~~ ^~~~~~~~~~~~~
src/transfer.cpp:1578:33: warning: implicit conversion changes signedness: 'int' to 'std::vector<std::pair<long long, long long>>::size_type' (aka 'unsigned long') [-Wsign-conversion]
                    mThroughput[connectionNum].second += chunkTime;
                    ~~~~~~~~~~~ ^~~~~~~~~~~~~
src/transfer.cpp:1590:80: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
                                << ", average throughput = " << (getThroughput(connectionNum) * 1000 / 1024) << " KB/s"
                                                                 ~~~~~~~~~~~~~ ^~~~~~~~~~~~~
src/transfer.cpp:1602:62: warning: operand of ? changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
                    unsigned submittingConnection = isRaid ? connectionNum : 0;
                             ~~~~~~~~~~~~~~~~~~~~            ^~~~~~~~~~~~~
src/transfer.cpp:1640:58: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
                if (searchAndDisconnectSlowestConnection(connectionNum))
                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~
src/transfer.cpp:1645:89: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
                std::pair<m_off_t, m_off_t> posrange = mDr->drbuf.nextNPosForConnection(connectionNum, newBufferSupplied, pauseForRaid);
                                                                  ~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~
src/transfer.cpp:1700:35: warning: implicit conversion changes signedness: 'int' to 'std::vector<std::unique_ptr<mega::HttpReq>>::size_type' (aka 'unsigned long') [-Wsign-conversion]
                            mReqs[connectionNum] = make_unique<HttpReq>(true);
                            ~~~~~ ^~~~~~~~~~~~~
src/transfer.cpp:1719:73: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
                        req->posturl = adjustURLPort(mDr->drbuf.tempURL(connectionNum));
                                                                ~~~~~~~ ^~~~~~~~~~~~~
src/transfer.cpp:1724:37: warning: implicit conversion changes signedness: 'int' to 'std::vector<std::pair<long long, long long>>::size_type' (aka 'unsigned long') [-Wsign-conversion]
                        mThroughput[connectionNum].first = 0;
                        ~~~~~~~~~~~ ^~~~~~~~~~~~~
src/transfer.cpp:1725:37: warning: implicit conversion changes signedness: 'int' to 'std::vector<std::pair<long long, long long>>::size_type' (aka 'unsigned long') [-Wsign-conversion]
                        mThroughput[connectionNum].second = 0;
                        ~~~~~~~~~~~ ^~~~~~~~~~~~~
src/transfer.cpp:1730:48: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
                        mDr->drbuf.transferPos(connectionNum) = posrange.second;
                                   ~~~~~~~~~~~ ^~~~~~~~~~~~~
src/transfer.cpp:1792:51: warning: operand of ? changes signedness: 'std::vector<std::string>::size_type' (aka 'unsigned long') to 'm_off_t' (aka 'long long') [-Wsign-conversion]
                                    drn->tempurls.size();
                                    ~~~~~~~~~~~~~~^~~~~~
src/transfer.cpp:2068:102: warning: implicit conversion changes signedness: 'int' to 'unsigned long long' [-Wsign-conversion]
        uint64_t fixedPriority = transfers[transfer->type][0]->priority - PRIORITY_STEP * (positions + 1);
                                                                                        ~  ~~~~~~~~~~^~~
src/transfer.cpp:2071:53: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
            Transfer *t = transfers[transfer->type][i];
                          ~~~~~~~~~                 ^
38 warnings generated.
  CXX      src/libmega_la-transferslot.lo
In file included from src/transferslot.cpp:22:
In file included from ./include/mega/transferslot.h:25:
In file included from ./include/mega/http.h:26:
In file included from ./include/mega/types.h:76:
In file included from ./include/mega/crypto/cryptopp.h:28:
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/ccm.h:50:11: warning: implicit conversion changes signedness: 'const int' to 'unsigned int' [-Wsign-conversion]
                {return m_digestSize;}
                 ~~~~~~ ^~~~~~~~~~~~
In file included from src/transferslot.cpp:22:
In file included from ./include/mega/transferslot.h:25:
In file included from ./include/mega/http.h:26:
In file included from ./include/mega/types.h:76:
In file included from ./include/mega/crypto/cryptopp.h:39:
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:138:6: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
        if (timeInSeconds)
        ~~  ^~~~~~~~~~~~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:141:29: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
        for (i=1; i<iterations || (timeInSeconds && (i%128!=0 || timer.ElapsedTimeAsDouble() < timeInSeconds)); i++)
                                   ^~~~~~~~~~~~~ ~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:285:7: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                if (timeInSeconds)
                ~~  ^~~~~~~~~~~~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:291:30: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                for (j=1; j<iterations || (timeInSeconds && (j%128!=0 || timer.ElapsedTimeAsDouble() < timeInSeconds)); j++)
                                           ^~~~~~~~~~~~~ ~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:297:7: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                if (timeInSeconds)
                ~~  ^~~~~~~~~~~~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:441:7: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                if (timeInSeconds)
                ~~  ^~~~~~~~~~~~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:447:30: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                for (i=1; i<iterations || (timeInSeconds && (i%128!=0 || timer.ElapsedTimeAsDouble() < timeInSeconds)); i++)
                                           ^~~~~~~~~~~~~ ~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:450:7: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                if (timeInSeconds)
                ~~  ^~~~~~~~~~~~~
In file included from src/transferslot.cpp:25:
In file included from ./include/mega/megaclient.h:26:
In file included from ./include/mega/db.h:26:
./include/mega/logging.h:605:41: warning: implicit conversion changes signedness: 'size_t' (aka 'unsigned long') to 'std::streamsize' (aka 'long') [-Wsign-conversion]
        ostr.write(obj.constChar(), obj.size());
             ~~~~~                  ~~~~^~~~~~
In file included from src/transferslot.cpp:25:
In file included from ./include/mega/megaclient.h:43:
./include/mega/setandelement.h:173:63: warning: implicit conversion changes signedness: 'int' to 'const uint64_t' (aka 'const unsigned long long') [-Wsign-conversion]
        void setChanged(int changeType) { if (validChangeType(changeType, CH_EL_SIZE)) mChanges[changeType] = 1; }
                                              ~~~~~~~~~~~~~~~ ^~~~~~~~~~
./include/mega/setandelement.h:173:97: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        void setChanged(int changeType) { if (validChangeType(changeType, CH_EL_SIZE)) mChanges[changeType] = 1; }
                                                                                       ~~~~~~~~ ^~~~~~~~~~
./include/mega/setandelement.h:279:63: warning: implicit conversion changes signedness: 'int' to 'const uint64_t' (aka 'const unsigned long long') [-Wsign-conversion]
        void setChanged(int changeType) { if (validChangeType(changeType, CH_SIZE)) mChanges[changeType] = 1; }
                                              ~~~~~~~~~~~~~~~ ^~~~~~~~~~
./include/mega/setandelement.h:279:94: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        void setChanged(int changeType) { if (validChangeType(changeType, CH_SIZE)) mChanges[changeType] = 1; }
                                                                                    ~~~~~~~~ ^~~~~~~~~~
src/transferslot.cpp:149:21: warning: implicit conversion changes signedness: 'int' to 'std::vector<std::shared_ptr<mega::HttpReqXfer>>::size_type' (aka 'unsigned long') [-Wsign-conversion]
        reqs.resize(connections);
             ~~~~~~ ^~~~~~~~~~~
src/transferslot.cpp:150:27: warning: implicit conversion changes signedness: 'int' to 'std::vector<mega::SpeedController>::size_type' (aka 'unsigned long') [-Wsign-conversion]
        mReqSpeeds.resize(connections);
                   ~~~~~~ ^~~~~~~~~~~
src/transferslot.cpp:151:39: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
        asyncIO = new AsyncIOContext*[connections]();
                  ~~~                 ^~~~~~~~~~~
src/transferslot.cpp:171:37: warning: implicit conversion changes signedness: 'int' to 'std::vector<std::shared_ptr<mega::HttpReqXfer>>::size_type' (aka 'unsigned long') [-Wsign-conversion]
                if (reqs[i] && reqs[i]->status == REQ_ASYNCIO && asyncIO[i])
                               ~~~~ ^
src/transferslot.cpp:171:26: warning: implicit conversion changes signedness: 'int' to 'std::vector<std::shared_ptr<mega::HttpReqXfer>>::size_type' (aka 'unsigned long') [-Wsign-conversion]
                if (reqs[i] && reqs[i]->status == REQ_ASYNCIO && asyncIO[i])
                    ~~~~ ^
src/transferslot.cpp:177:58: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
                        transferbuf.bufferWriteCompleted(i, true);
                                    ~~~~~~~~~~~~~~~~~~~~ ^
src/transferslot.cpp:183:58: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
                        transferbuf.bufferWriteCompleted(i, false);
                                    ~~~~~~~~~~~~~~~~~~~~ ^
src/transferslot.cpp:185:26: warning: implicit conversion changes signedness: 'int' to 'std::vector<std::shared_ptr<mega::HttpReqXfer>>::size_type' (aka 'unsigned long') [-Wsign-conversion]
                    reqs[i]->status = REQ_READY;
                    ~~~~ ^
src/transferslot.cpp:201:75: warning: implicit conversion changes signedness: 'int' to 'std::vector<std::shared_ptr<mega::HttpReqXfer>>::size_type' (aka 'unsigned long') [-Wsign-conversion]
            if (HttpReqDL *downloadRequest = static_cast<HttpReqDL*>(reqs[i].get()))
                                                                     ~~~~ ^
src/transferslot.cpp:212:54: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
                            transferbuf.submitBuffer(i, new TransferBufferManager::FilePiece(downloadRequest->dlpos, buf)); // resets size & bufpos of downloadrequest.
                                        ~~~~~~~~~~~~ ^
src/transferslot.cpp:221:84: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
                        auto outputPiece = transferbuf.getAsyncOutputBufferPointer(i);
                                                       ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
src/transferslot.cpp:241:76: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
                auto outputPiece = transferbuf.getAsyncOutputBufferPointer(i);
                                               ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
src/transferslot.cpp:253:58: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
                        transferbuf.bufferWriteCompleted(i, true);
                                    ~~~~~~~~~~~~~~~~~~~~ ^
src/transferslot.cpp:259:58: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
                        transferbuf.bufferWriteCompleted(i, false);  // throws the data away so we can move on to the next one
                                    ~~~~~~~~~~~~~~~~~~~~ ^
src/transferslot.cpp:333:18: warning: implicit conversion changes signedness: 'int' to 'std::vector<std::shared_ptr<mega::HttpReqXfer>>::size_type' (aka 'unsigned long') [-Wsign-conversion]
        if (reqs[i])
            ~~~~ ^
src/transferslot.cpp:335:18: warning: implicit conversion changes signedness: 'int' to 'std::vector<std::shared_ptr<mega::HttpReqXfer>>::size_type' (aka 'unsigned long') [-Wsign-conversion]
            reqs[i]->disconnect();
            ~~~~ ^
src/transferslot.cpp:556:18: warning: implicit conversion changes signedness: 'int' to 'std::vector<std::shared_ptr<mega::HttpReqXfer>>::size_type' (aka 'unsigned long') [-Wsign-conversion]
        if (reqs[i])
            ~~~~ ^
src/transferslot.cpp:559:125: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
            if (transfer->type == GET && reqs[i]->contentlength == reqs[i]->size && transferbuf.detectSlowestRaidConnection(i, slowestStartConnection))
                                                                                                ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
src/transferslot.cpp:559:47: warning: implicit conversion changes signedness: 'int' to 'std::vector<std::shared_ptr<mega::HttpReqXfer>>::size_type' (aka 'unsigned long') [-Wsign-conversion]
            if (transfer->type == GET && reqs[i]->contentlength == reqs[i]->size && transferbuf.detectSlowestRaidConnection(i, slowestStartConnection))
                                         ~~~~ ^
src/transferslot.cpp:559:73: warning: implicit conversion changes signedness: 'int' to 'std::vector<std::shared_ptr<mega::HttpReqXfer>>::size_type' (aka 'unsigned long') [-Wsign-conversion]
            if (transfer->type == GET && reqs[i]->contentlength == reqs[i]->size && transferbuf.detectSlowestRaidConnection(i, slowestStartConnection))
                                                                   ~~~~ ^
src/transferslot.cpp:568:56: warning: implicit conversion changes signedness: 'int' to 'std::vector<std::shared_ptr<mega::HttpReqXfer>>::size_type' (aka 'unsigned long') [-Wsign-conversion]
            if (reqs[i]->status == REQ_FAILURE && reqs[i]->httpstatus == 200 && transfer->type == GET && transferbuf.isRaid())  // the request started out successfully, hence status==200 in the reply headers
                                                  ~~~~ ^
src/transferslot.cpp:568:22: warning: implicit conversion changes signedness: 'int' to 'std::vector<std::shared_ptr<mega::HttpReqXfer>>::size_type' (aka 'unsigned long') [-Wsign-conversion]
            if (reqs[i]->status == REQ_FAILURE && reqs[i]->httpstatus == 200 && transfer->type == GET && transferbuf.isRaid())  // the request started out successfully, hence status==200 in the reply headers
                ~~~~ ^
src/transferslot.cpp:571:75: warning: implicit conversion changes signedness: 'int' to 'std::vector<std::shared_ptr<mega::HttpReqXfer>>::size_type' (aka 'unsigned long') [-Wsign-conversion]
                HttpReqDL *downloadRequest = static_cast<HttpReqDL*>(reqs[i].get());
                                                                     ~~~~ ^
src/transferslot.cpp:577:45: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
                    transferbuf.transferPos(i) = downloadRequest->bufpos;
                                ~~~~~~~~~~~ ^
src/transferslot.cpp:582:51: warning: implicit conversion changes signedness: 'int' to 'std::vector<std::shared_ptr<mega::HttpReqXfer>>::size_type' (aka 'unsigned long') [-Wsign-conversion]
            switch (static_cast<reqstatus_t>(reqs[i]->status))
                                             ~~~~ ^
src/transferslot.cpp:586:74: warning: implicit conversion changes signedness: 'int' to 'std::vector<std::shared_ptr<mega::HttpReqXfer>>::size_type' (aka 'unsigned long') [-Wsign-conversion]
                    m_off_t delta = mReqSpeeds[i].requestProgressed(reqs[i]->transferred(client));
                                                                    ~~~~ ^
src/transferslot.cpp:586:48: warning: implicit conversion changes signedness: 'int' to 'std::vector<mega::SpeedController>::size_type' (aka 'unsigned long') [-Wsign-conversion]
                    m_off_t delta = mReqSpeeds[i].requestProgressed(reqs[i]->transferred(client));
                                    ~~~~~~~~~~ ^
src/transferslot.cpp:589:31: warning: implicit conversion changes signedness: 'int' to 'std::vector<std::shared_ptr<mega::HttpReqXfer>>::size_type' (aka 'unsigned long') [-Wsign-conversion]
                    p += reqs[i]->transferred(client);
                         ~~~~ ^
src/transferslot.cpp:594:58: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
                            && testForSlowRaidConnection(i, incrementErrors))
                               ~~~~~~~~~~~~~~~~~~~~~~~~~ ^
src/transferslot.cpp:597:61: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
                        if (tryRaidRecoveryFromHttpGetError(i, incrementErrors))
                            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
src/transferslot.cpp:600:34: warning: implicit conversion changes signedness: 'int' to 'std::vector<std::shared_ptr<mega::HttpReqXfer>>::size_type' (aka 'unsigned long') [-Wsign-conversion]
                            reqs[i]->disconnect();
                            ~~~~ ^
src/transferslot.cpp:601:34: warning: implicit conversion changes signedness: 'int' to 'std::vector<std::shared_ptr<mega::HttpReqXfer>>::size_type' (aka 'unsigned long') [-Wsign-conversion]
                            reqs[i]->status = REQ_READY;
                            ~~~~ ^
src/transferslot.cpp:605:57: warning: implicit conversion changes signedness: 'int' to 'std::vector<std::shared_ptr<mega::HttpReqXfer>>::size_type' (aka 'unsigned long') [-Wsign-conversion]
                    if (EVER(reqs[i]->lastdata) && reqs[i]->lastdata > lastdata)
                                                   ~~~~ ^
src/transferslot.cpp:605:35: warning: implicit conversion changes signedness: 'int' to 'std::vector<std::shared_ptr<mega::HttpReqXfer>>::size_type' (aka 'unsigned long') [-Wsign-conversion]
                    if (EVER(reqs[i]->lastdata) && reqs[i]->lastdata > lastdata)
                             ~~~~ ^
./include/mega/types.h:169:20: note: expanded from macro 'EVER'
#define EVER(ds) ((ds+1))
                   ^~
src/transferslot.cpp:608:41: warning: implicit conversion changes signedness: 'int' to 'std::vector<std::shared_ptr<mega::HttpReqXfer>>::size_type' (aka 'unsigned long') [-Wsign-conversion]
                        lastdata = reqs[i]->lastdata;
                                   ~~~~ ^
src/transferslot.cpp:615:74: warning: implicit conversion changes signedness: 'int' to 'std::vector<std::shared_ptr<mega::HttpReqXfer>>::size_type' (aka 'unsigned long') [-Wsign-conversion]
                    m_off_t delta = mReqSpeeds[i].requestProgressed(reqs[i]->size);
                                                                    ~~~~ ^
src/transferslot.cpp:615:48: warning: implicit conversion changes signedness: 'int' to 'std::vector<mega::SpeedController>::size_type' (aka 'unsigned long') [-Wsign-conversion]
                    m_off_t delta = mReqSpeeds[i].requestProgressed(reqs[i]->size);
                                    ~~~~~~~~~~ ^
src/transferslot.cpp:618:168: warning: implicit conversion changes signedness: 'int' to 'std::vector<std::shared_ptr<mega::HttpReqXfer>>::size_type' (aka 'unsigned long') [-Wsign-conversion]
                    if (client->orderdownloadedchunks && transfer->type == GET && !transferbuf.isRaid() && transfer->progresscompleted != static_cast<HttpReqDL*>(reqs[i].get())->dlpos)
                                                                                                                                                                  ~~~~ ^
src/transferslot.cpp:621:35: warning: implicit conversion changes signedness: 'int' to 'std::vector<std::shared_ptr<mega::HttpReqXfer>>::size_type' (aka 'unsigned long') [-Wsign-conversion]
                        p += reqs[i]->size;
                             ~~~~ ^
src/transferslot.cpp:632:53: warning: implicit conversion changes signedness: 'int' to 'std::vector<mega::SpeedController>::size_type' (aka 'unsigned long') [-Wsign-conversion]
                            << "   (" << mReqSpeeds[i].lastRequestSpeed() << " B/s)";
                                         ~~~~~~~~~~ ^
src/transferslot.cpp:631:177: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
                            << (transferbuf.isRaid() ? string("   Part progress: " + std::to_string(transferbuf.transferPos(i)) + "/" + std::to_string(transferbuf.raidPartSize(i, transfer->size))) : "")
                                                                                                                                                       ~~~~~~~~~~~              ^
src/transferslot.cpp:631:125: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
                            << (transferbuf.isRaid() ? string("   Part progress: " + std::to_string(transferbuf.transferPos(i)) + "/" + std::to_string(transferbuf.raidPartSize(i, transfer->size))) : "")
                                                                                                                ~~~~~~~~~~~ ^
src/transferslot.cpp:630:52: warning: implicit conversion changes signedness: 'int' to 'std::vector<std::shared_ptr<mega::HttpReqXfer>>::size_type' (aka 'unsigned long') [-Wsign-conversion]
                            << "   Size: " << reqs[i]->size
                                              ~~~~ ^
src/transferslot.cpp:629:85: warning: implicit conversion changes signedness: 'int' to 'std::vector<std::shared_ptr<mega::HttpReqXfer>>::size_type' (aka 'unsigned long') [-Wsign-conversion]
                            << " " << reqs[i]->pos << " - " << (reqs[i]->pos + reqs[i]->size)
                                                                               ~~~~ ^
src/transferslot.cpp:629:70: warning: implicit conversion changes signedness: 'int' to 'std::vector<std::shared_ptr<mega::HttpReqXfer>>::size_type' (aka 'unsigned long') [-Wsign-conversion]
                            << " " << reqs[i]->pos << " - " << (reqs[i]->pos + reqs[i]->size)
                                                                ~~~~ ^
src/transferslot.cpp:629:44: warning: implicit conversion changes signedness: 'int' to 'std::vector<std::shared_ptr<mega::HttpReqXfer>>::size_type' (aka 'unsigned long') [-Wsign-conversion]
                            << " " << reqs[i]->pos << " - " << (reqs[i]->pos + reqs[i]->size)
                                      ~~~~ ^
src/transferslot.cpp:638:34: warning: implicit conversion changes signedness: 'int' to 'std::vector<std::shared_ptr<mega::HttpReqXfer>>::size_type' (aka 'unsigned long') [-Wsign-conversion]
                        if (reqs[i]->in.size() == UPLOADTOKENLEN)
                            ~~~~ ^
src/transferslot.cpp:642:66: warning: implicit conversion changes signedness: 'int' to 'std::vector<std::shared_ptr<mega::HttpReqXfer>>::size_type' (aka 'unsigned long') [-Wsign-conversion]
                            memcpy(transfer->ultoken.get(), reqs[i]->in.data(), UPLOADTOKENLEN);
                                                            ~~~~ ^
src/transferslot.cpp:657:42: warning: implicit conversion changes signedness: 'int' to 'std::vector<std::shared_ptr<mega::HttpReqXfer>>::size_type' (aka 'unsigned long') [-Wsign-conversion]
                                    reqs[j]->status == REQ_ENCRYPTING)
                                    ~~~~ ^
src/transferslot.cpp:656:52: warning: implicit conversion changes signedness: 'int' to 'std::vector<std::shared_ptr<mega::HttpReqXfer>>::size_type' (aka 'unsigned long') [-Wsign-conversion]
                                if (j != i && reqs[j] &&
                                              ~~~~ ^
src/transferslot.cpp:660:49: warning: implicit conversion changes signedness: 'int' to 'std::vector<std::shared_ptr<mega::HttpReqXfer>>::size_type' (aka 'unsigned long') [-Wsign-conversion]
                                    while (reqs[j]->status == REQ_ENCRYPTING)
                                           ~~~~ ^
src/transferslot.cpp:676:45: warning: implicit conversion changes signedness: 'int' to 'std::vector<std::shared_ptr<mega::HttpReqXfer>>::size_type' (aka 'unsigned long') [-Wsign-conversion]
                                    || reqs[j]->status == REQ_UPLOAD_PREPARED_BUT_WAIT))
                                       ~~~~ ^
src/transferslot.cpp:675:45: warning: implicit conversion changes signedness: 'int' to 'std::vector<std::shared_ptr<mega::HttpReqXfer>>::size_type' (aka 'unsigned long') [-Wsign-conversion]
                                    || reqs[j]->status == REQ_PREPARED
                                       ~~~~ ^
src/transferslot.cpp:674:45: warning: implicit conversion changes signedness: 'int' to 'std::vector<std::shared_ptr<mega::HttpReqXfer>>::size_type' (aka 'unsigned long') [-Wsign-conversion]
                                    || reqs[j]->status == REQ_FAILURE  // could be a network error getting the result, even though it succeeded server side
                                       ~~~~ ^
src/transferslot.cpp:673:45: warning: implicit conversion changes signedness: 'int' to 'std::vector<std::shared_ptr<mega::HttpReqXfer>>::size_type' (aka 'unsigned long') [-Wsign-conversion]
                                    || reqs[j]->status == REQ_SUCCESS
                                       ~~~~ ^
src/transferslot.cpp:672:47: warning: implicit conversion changes signedness: 'int' to 'std::vector<std::shared_ptr<mega::HttpReqXfer>>::size_type' (aka 'unsigned long') [-Wsign-conversion]
                                        (reqs[j]->status == REQ_INFLIGHT
                                         ~~~~ ^
src/transferslot.cpp:671:52: warning: implicit conversion changes signedness: 'int' to 'std::vector<std::shared_ptr<mega::HttpReqXfer>>::size_type' (aka 'unsigned long') [-Wsign-conversion]
                                if (j != i && reqs[j] &&
                                              ~~~~ ^
src/transferslot.cpp:679:73: warning: implicit conversion changes signedness: 'int' to 'std::vector<std::shared_ptr<mega::HttpReqXfer>>::size_type' (aka 'unsigned long') [-Wsign-conversion]
                                    transfer->progresscompleted += reqs[j]->size;
                                                                   ~~~~ ^
src/transferslot.cpp:680:107: warning: implicit conversion changes signedness: 'int' to 'std::vector<std::shared_ptr<mega::HttpReqXfer>>::size_type' (aka 'unsigned long') [-Wsign-conversion]
                                    transfer->chunkmacs.finishedUploadChunks(static_cast<HttpReqUL*>(reqs[j].get())->mChunkmacs);
                                                                                                     ~~~~ ^
src/transferslot.cpp:684:99: warning: implicit conversion changes signedness: 'int' to 'std::vector<std::shared_ptr<mega::HttpReqXfer>>::size_type' (aka 'unsigned long') [-Wsign-conversion]
                            transfer->chunkmacs.finishedUploadChunks(static_cast<HttpReqUL*>(reqs[i].get())->mChunkmacs);
                                                                                             ~~~~ ^
src/transferslot.cpp:685:65: warning: implicit conversion changes signedness: 'int' to 'std::vector<std::shared_ptr<mega::HttpReqXfer>>::size_type' (aka 'unsigned long') [-Wsign-conversion]
                            transfer->progresscompleted += reqs[i]->size;
                                                           ~~~~ ^
src/transferslot.cpp:692:66: warning: implicit conversion changes signedness: 'int64_t' (aka 'long long') to 'uint64_t' (aka 'unsigned long long') [-Wsign-conversion]
                            transfer->filekey.iv_u64 = transfer->ctriv;
                                                     ~ ~~~~~~~~~~^~~~~
src/transferslot.cpp:693:57: warning: implicit conversion changes signedness: 'int64_t' (aka 'long long') to 'uint64_t' (aka 'unsigned long long') [-Wsign-conversion]
                            transfer->filekey.crc_u64 = macsmac(&transfer->chunkmacs);
                                                      ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/transferslot.cpp:709:61: warning: implicit conversion changes signedness: 'int' to 'std::vector<std::shared_ptr<mega::HttpReqXfer>>::size_type' (aka 'unsigned long') [-Wsign-conversion]
                        if (reqs[i]->in.size() != 1 || reqs[i]->in[0] != '0')
                                                       ~~~~ ^
src/transferslot.cpp:709:34: warning: implicit conversion changes signedness: 'int' to 'std::vector<std::shared_ptr<mega::HttpReqXfer>>::size_type' (aka 'unsigned long') [-Wsign-conversion]
                        if (reqs[i]->in.size() != 1 || reqs[i]->in[0] != '0')
                            ~~~~ ^
src/transferslot.cpp:711:95: warning: implicit conversion changes signedness: 'int' to 'std::vector<std::shared_ptr<mega::HttpReqXfer>>::size_type' (aka 'unsigned long') [-Wsign-conversion]
                            LOG_debug << "Conn " << i << " : Error uploading chunk: " << reqs[i]->in;
                                                                                         ~~~~ ^
src/transferslot.cpp:712:56: warning: implicit conversion changes signedness: 'int' to 'std::vector<std::shared_ptr<mega::HttpReqXfer>>::size_type' (aka 'unsigned long') [-Wsign-conversion]
                            error e = (error)atoi(reqs[i]->in.c_str());
                                                  ~~~~ ^
src/transferslot.cpp:722:38: warning: implicit conversion changes signedness: 'int' to 'std::vector<std::shared_ptr<mega::HttpReqXfer>>::size_type' (aka 'unsigned long') [-Wsign-conversion]
                                reqs[i]->status = REQ_PREPARED;
                                ~~~~ ^
src/transferslot.cpp:727:53: warning: implicit conversion changes signedness: 'int' to 'std::vector<std::shared_ptr<mega::HttpReqXfer>>::size_type' (aka 'unsigned long') [-Wsign-conversion]
                                    && !memcmp(reqs[i]->posturl.c_str(), "http:", 5)))
                                               ~~~~ ^
src/transferslot.cpp:726:62: warning: implicit conversion changes signedness: 'int' to 'std::vector<std::shared_ptr<mega::HttpReqXfer>>::size_type' (aka 'unsigned long') [-Wsign-conversion]
                            if (e == DAEMON_EFAILED || (reqs[i]->contenttype.find("text/html") != string::npos
                                                        ~~~~ ^
src/transferslot.cpp:736:122: warning: implicit conversion changes signedness: 'int' to 'std::vector<std::shared_ptr<mega::HttpReqXfer>>::size_type' (aka 'unsigned long') [-Wsign-conversion]
                                    string event = "Unexpected upload chunk confirmation length: " + std::to_string(reqs[i]->in.size());
                                                                                                                    ~~~~ ^
src/transferslot.cpp:741:124: warning: implicit conversion changes signedness: 'int' to 'std::vector<std::shared_ptr<mega::HttpReqXfer>>::size_type' (aka 'unsigned long') [-Wsign-conversion]
                                    LOG_warn << "Conn " << i << " : Invalid Content-Type detected during upload: " << reqs[i]->contenttype;
                                                                                                                      ~~~~ ^
src/transferslot.cpp:752:95: warning: implicit conversion changes signedness: 'int' to 'std::vector<std::shared_ptr<mega::HttpReqXfer>>::size_type' (aka 'unsigned long') [-Wsign-conversion]
                        transfer->chunkmacs.finishedUploadChunks(static_cast<HttpReqUL*>(reqs[i].get())->mChunkmacs);
                                                                                         ~~~~ ^
src/transferslot.cpp:753:61: warning: implicit conversion changes signedness: 'int' to 'std::vector<std::shared_ptr<mega::HttpReqXfer>>::size_type' (aka 'unsigned long') [-Wsign-conversion]
                        transfer->progresscompleted += reqs[i]->size;
                                                       ~~~~ ^
src/transferslot.cpp:769:30: warning: implicit conversion changes signedness: 'int' to 'std::vector<std::shared_ptr<mega::HttpReqXfer>>::size_type' (aka 'unsigned long') [-Wsign-conversion]
                        reqs[i]->status = REQ_READY;
                        ~~~~ ^
src/transferslot.cpp:780:38: warning: implicit conversion changes signedness: 'int' to 'std::vector<std::shared_ptr<mega::HttpReqXfer>>::size_type' (aka 'unsigned long') [-Wsign-conversion]
                               (reqs[j]->pos < reqs[i]->pos))
                                ~~~~ ^
src/transferslot.cpp:780:53: warning: implicit conversion changes signedness: 'int' to 'std::vector<std::shared_ptr<mega::HttpReqXfer>>::size_type' (aka 'unsigned long') [-Wsign-conversion]
                               (reqs[j]->pos < reqs[i]->pos))
                                               ~~~~ ^
src/transferslot.cpp:779:73: warning: implicit conversion changes signedness: 'int' to 'std::vector<std::shared_ptr<mega::HttpReqXfer>>::size_type' (aka 'unsigned long') [-Wsign-conversion]
                               (reqs[j]->status == REQ_INFLIGHT || reqs[j]->status == REQ_SUCCESS) &&
                                                                   ~~~~ ^
src/transferslot.cpp:779:38: warning: implicit conversion changes signedness: 'int' to 'std::vector<std::shared_ptr<mega::HttpReqXfer>>::size_type' (aka 'unsigned long') [-Wsign-conversion]
                               (reqs[j]->status == REQ_INFLIGHT || reqs[j]->status == REQ_SUCCESS) &&
                                ~~~~ ^
src/transferslot.cpp:778:48: warning: implicit conversion changes signedness: 'int' to 'std::vector<std::shared_ptr<mega::HttpReqXfer>>::size_type' (aka 'unsigned long') [-Wsign-conversion]
                            if (j != i && reqs[j] &&
                                          ~~~~ ^
src/transferslot.cpp:787:131: warning: implicit conversion changes signedness: 'int' to 'std::vector<std::shared_ptr<mega::HttpReqXfer>>::size_type' (aka 'unsigned long') [-Wsign-conversion]
                            LOG_debug << "Connection " << i << " was the earliest upload piece and has now completed at " << reqs[i]->pos;
                                                                                                                             ~~~~ ^
src/transferslot.cpp:794:83: warning: implicit conversion changes signedness: 'int' to 'std::vector<std::shared_ptr<mega::HttpReqXfer>>::size_type' (aka 'unsigned long') [-Wsign-conversion]
                        HttpReqDL *downloadRequest = static_cast<HttpReqDL*>(reqs[i].get());
                                                                             ~~~~ ^
src/transferslot.cpp:795:34: warning: implicit conversion changes signedness: 'int' to 'std::vector<std::shared_ptr<mega::HttpReqXfer>>::size_type' (aka 'unsigned long') [-Wsign-conversion]
                        if (reqs[i]->size == reqs[i]->bufpos || downloadRequest->buffer_released)   // downloadRequest->buffer_released being true indicates we're retrying this asyncIO
                            ~~~~ ^
src/transferslot.cpp:795:51: warning: implicit conversion changes signedness: 'int' to 'std::vector<std::shared_ptr<mega::HttpReqXfer>>::size_type' (aka 'unsigned long') [-Wsign-conversion]
                        if (reqs[i]->size == reqs[i]->bufpos || downloadRequest->buffer_released)   // downloadRequest->buffer_released being true indicates we're retrying this asyncIO
                                             ~~~~ ^
src/transferslot.cpp:799:58: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
                                transferbuf.submitBuffer(i, new TransferBufferManager::FilePiece(downloadRequest->dlpos, downloadRequest->release_buf())); // resets size & bufpos.  finalize() is taken care of in the transferbuf
                                            ~~~~~~~~~~~~ ^
src/transferslot.cpp:803:88: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
                            auto outputPiece = transferbuf.getAsyncOutputBufferPointer(i);
                                                           ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
src/transferslot.cpp:813:53: warning: implicit conversion changes signedness: 'int' to 'std::vector<std::shared_ptr<mega::HttpReqXfer>>::size_type' (aka 'unsigned long') [-Wsign-conversion]
                                    auto req = reqs[i];   // shared_ptr for shutdown safety
                                               ~~~~ ^
src/transferslot.cpp:828:42: warning: implicit conversion changes signedness: 'int' to 'std::vector<std::shared_ptr<mega::HttpReqXfer>>::size_type' (aka 'unsigned long') [-Wsign-conversion]
                                    reqs[i]->status = REQ_DECRYPTED;
                                    ~~~~ ^
src/transferslot.cpp:833:38: warning: implicit conversion changes signedness: 'int' to 'std::vector<std::shared_ptr<mega::HttpReqXfer>>::size_type' (aka 'unsigned long') [-Wsign-conversion]
                                reqs[i]->status = REQ_READY;  // this connection has retrieved a part of the file, but we don't have enough to combine yet for full file output.   This connection can start fetching the next piece of that part.
                                ~~~~ ^
src/transferslot.cpp:844:53: warning: implicit conversion changes signedness: 'int' to 'std::vector<std::shared_ptr<mega::HttpReqXfer>>::size_type' (aka 'unsigned long') [-Wsign-conversion]
                                    && !memcmp(reqs[i]->posturl.c_str(), "http:", 5))
                                               ~~~~ ^
src/transferslot.cpp:843:38: warning: implicit conversion changes signedness: 'int' to 'std::vector<std::shared_ptr<mega::HttpReqXfer>>::size_type' (aka 'unsigned long') [-Wsign-conversion]
                            if (reqs[i]->contenttype.find("text/html") != string::npos
                                ~~~~ ^
src/transferslot.cpp:846:122: warning: implicit conversion changes signedness: 'int' to 'std::vector<std::shared_ptr<mega::HttpReqXfer>>::size_type' (aka 'unsigned long') [-Wsign-conversion]
                                LOG_warn << "Conn " << i << " : Invalid Content-Type detected during download: " << reqs[i]->contenttype;
                                                                                                                    ~~~~ ^
src/transferslot.cpp:857:117: warning: implicit conversion changes signedness: 'int' to 'std::vector<std::shared_ptr<mega::HttpReqXfer>>::size_type' (aka 'unsigned long') [-Wsign-conversion]
                            LOG_warn << "Conn " << i << " : Invalid chunk size: " << reqs[i]->size << " - " << reqs[i]->bufpos;
                                                                                                               ~~~~ ^
src/transferslot.cpp:857:91: warning: implicit conversion changes signedness: 'int' to 'std::vector<std::shared_ptr<mega::HttpReqXfer>>::size_type' (aka 'unsigned long') [-Wsign-conversion]
                            LOG_warn << "Conn " << i << " : Invalid chunk size: " << reqs[i]->size << " - " << reqs[i]->bufpos;
                                                                                     ~~~~ ^
src/transferslot.cpp:860:34: warning: implicit conversion changes signedness: 'int' to 'std::vector<std::shared_ptr<mega::HttpReqXfer>>::size_type' (aka 'unsigned long') [-Wsign-conversion]
                            reqs[i]->status = REQ_PREPARED;
                            ~~~~ ^
src/transferslot.cpp:875:80: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
                    auto outputPiece = transferbuf.getAsyncOutputBufferPointer(i);
                                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
src/transferslot.cpp:885:84: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
                        auto outputPiece = transferbuf.getAsyncOutputBufferPointer(i);
                                                       ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
src/transferslot.cpp:898:142: warning: implicit conversion changes signedness: 'm_off_t' (aka 'long long') to 'unsigned long long' [-Wsign-conversion]
                            LOG_debug << "Conn " << i << " : Writing data asynchronously at " << outputPiece->pos << " to " << (outputPiece->pos + outputPiece->buf.datalen()) << " (size: " << outputPiece->buf.datalen() << ")";
                                                                                                                                ~~~~~~~~~~~~~^~~ ~
src/transferslot.cpp:900:34: warning: implicit conversion changes signedness: 'int' to 'std::vector<std::shared_ptr<mega::HttpReqXfer>>::size_type' (aka 'unsigned long') [-Wsign-conversion]
                            reqs[i]->status = REQ_ASYNCIO;
                            ~~~~ ^
src/transferslot.cpp:907:66: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
                                transferbuf.bufferWriteCompleted(i, true);
                                            ~~~~~~~~~~~~~~~~~~~~ ^
src/transferslot.cpp:917:70: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
                                    transferbuf.bufferWriteCompleted(i, false);  // discard failed data so we don't retry on slot deletion
                                                ~~~~~~~~~~~~~~~~~~~~ ^
src/transferslot.cpp:931:34: warning: implicit conversion changes signedness: 'int' to 'std::vector<std::shared_ptr<mega::HttpReqXfer>>::size_type' (aka 'unsigned long') [-Wsign-conversion]
                            reqs[i]->status = REQ_READY;
                            ~~~~ ^
src/transferslot.cpp:946:75: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
                                string finaltempurl = transferbuf.tempURL(i);
                                                                  ~~~~~~~ ^
src/transferslot.cpp:957:49: warning: implicit conversion changes signedness: 'int' to 'std::vector<std::shared_ptr<mega::HttpReqXfer>>::size_type' (aka 'unsigned long') [-Wsign-conversion]
                                auto req = reqs[i];    // shared_ptr so no object is deleted out from under the worker
                                           ~~~~ ^
src/transferslot.cpp:966:81: warning: implicit conversion changes signedness: 'const long long' to 'uint64_t' (aka 'unsigned long long') [-Wsign-conversion]
                                        req->prepare(finaltempurl.c_str(), &sc, ctriv, pos, npos);
                                             ~~~~~~~                            ^~~~~
src/transferslot.cpp:973:66: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
                                transferbuf.bufferWriteCompleted(i, true);
                                            ~~~~~~~~~~~~~~~~~~~~ ^
src/transferslot.cpp:985:38: warning: implicit conversion changes signedness: 'int' to 'std::vector<std::shared_ptr<mega::HttpReqXfer>>::size_type' (aka 'unsigned long') [-Wsign-conversion]
                                reqs[i]->status = REQ_READY;
                                ~~~~ ^
src/transferslot.cpp:1004:66: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
                                transferbuf.bufferWriteCompleted(i, false);  // discard failed data so we don't retry on slot deletion
                                            ~~~~~~~~~~~~~~~~~~~~ ^
src/transferslot.cpp:1014:38: warning: implicit conversion changes signedness: 'int' to 'std::vector<std::shared_ptr<mega::HttpReqXfer>>::size_type' (aka 'unsigned long') [-Wsign-conversion]
                                reqs[i]->status = REQ_READY;
                                ~~~~ ^
src/transferslot.cpp:1019:38: warning: implicit conversion changes signedness: 'int' to 'std::vector<std::shared_ptr<mega::HttpReqXfer>>::size_type' (aka 'unsigned long') [-Wsign-conversion]
                                reqs[i]->status = REQ_SUCCESS;
                                ~~~~ ^
src/transferslot.cpp:1032:77: warning: implicit conversion changes signedness: 'int' to 'std::vector<std::shared_ptr<mega::HttpReqXfer>>::size_type' (aka 'unsigned long') [-Wsign-conversion]
                        auto failValue = processRequestFailure(client, reqs[i], backoff, i);
                                                                       ~~~~ ^
src/transferslot.cpp:1049:35: warning: implicit conversion changes signedness: 'int' to 'std::vector<std::shared_ptr<mega::HttpReqXfer>>::size_type' (aka 'unsigned long') [-Wsign-conversion]
            if (!reqs[i] || (reqs[i]->status == REQ_READY))
                             ~~~~ ^
src/transferslot.cpp:1049:23: warning: implicit conversion changes signedness: 'int' to 'std::vector<std::shared_ptr<mega::HttpReqXfer>>::size_type' (aka 'unsigned long') [-Wsign-conversion]
            if (!reqs[i] || (reqs[i]->status == REQ_READY))
                 ~~~~ ^
src/transferslot.cpp:1053:109: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
                std::pair<m_off_t, m_off_t> posrange = transferbuf.nextNPosForConnection(i, maxRequestSize, connections, newInputBufferSupplied, pauseConnectionInputForRaid, client->httpio->uploadSpeed);
                                                                   ~~~~~~~~~~~~~~~~~~~~~                    ^~~~~~~~~~~
src/transferslot.cpp:1053:90: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
                std::pair<m_off_t, m_off_t> posrange = transferbuf.nextNPosForConnection(i, maxRequestSize, connections, newInputBufferSupplied, pauseConnectionInputForRaid, client->httpio->uploadSpeed);
                                                                   ~~~~~~~~~~~~~~~~~~~~~ ^
src/transferslot.cpp:1057:76: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
                auto outputPiece = transferbuf.getAsyncOutputBufferPointer(i);
                                               ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
src/transferslot.cpp:1058:41: warning: implicit conversion changes signedness: 'int' to 'std::vector<std::shared_ptr<mega::HttpReqXfer>>::size_type' (aka 'unsigned long') [-Wsign-conversion]
                if (outputPiece && reqs[i])
                                   ~~~~ ^
src/transferslot.cpp:1061:26: warning: implicit conversion changes signedness: 'int' to 'std::vector<std::shared_ptr<mega::HttpReqXfer>>::size_type' (aka 'unsigned long') [-Wsign-conversion]
                    reqs[i]->status = REQ_SUCCESS;
                    ~~~~ ^
src/transferslot.cpp:1062:50: warning: implicit conversion changes signedness: 'int' to 'std::vector<std::shared_ptr<mega::HttpReqXfer>>::size_type' (aka 'unsigned long') [-Wsign-conversion]
                    static_cast<HttpReqDL*>(reqs[i].get())->buffer_released = true;
                                            ~~~~ ^
src/transferslot.cpp:1074:31: warning: implicit conversion changes signedness: 'int' to 'std::vector<std::shared_ptr<mega::HttpReqXfer>>::size_type' (aka 'unsigned long') [-Wsign-conversion]
                    if (!reqs[i])
                         ~~~~ ^
src/transferslot.cpp:1076:30: warning: implicit conversion changes signedness: 'int' to 'std::vector<std::shared_ptr<mega::HttpReqXfer>>::size_type' (aka 'unsigned long') [-Wsign-conversion]
                        reqs[i].reset(transfer->type == PUT ? (HttpReqXfer*)new HttpReqUL() : (HttpReqXfer*)new HttpReqDL());
                        ~~~~ ^
src/transferslot.cpp:1077:30: warning: implicit conversion changes signedness: 'int' to 'std::vector<std::shared_ptr<mega::HttpReqXfer>>::size_type' (aka 'unsigned long') [-Wsign-conversion]
                        reqs[i]->logname = client->clientname + (transfer->type == PUT ? "U" : "D") + std::to_string(++client->transferHttpCounter) + " ";
                        ~~~~ ^
src/transferslot.cpp:1088:54: warning: implicit conversion changes signedness: 'int' to 'std::vector<std::shared_ptr<mega::HttpReqXfer>>::size_type' (aka 'unsigned long') [-Wsign-conversion]
                        static_cast<HttpReqUL*>(reqs[i].get())->mChunkmacs.clear();
                                                ~~~~ ^
src/transferslot.cpp:1102:62: warning: implicit conversion changes signedness: 'int' to 'std::vector<std::shared_ptr<mega::HttpReqXfer>>::size_type' (aka 'unsigned long') [-Wsign-conversion]
                            asyncIO[i] = fa->asyncfread(reqs[i]->out, size, (-(int)size) & (SymmCipher::BLOCKSIZE - 1), pos, FSLogging::logOnError);
                                                        ~~~~ ^
src/transferslot.cpp:1103:34: warning: implicit conversion changes signedness: 'int' to 'std::vector<std::shared_ptr<mega::HttpReqXfer>>::size_type' (aka 'unsigned long') [-Wsign-conversion]
                            reqs[i]->status = REQ_ASYNCIO;
                            ~~~~ ^
src/transferslot.cpp:1108:49: warning: implicit conversion changes signedness: 'int' to 'std::vector<std::shared_ptr<mega::HttpReqXfer>>::size_type' (aka 'unsigned long') [-Wsign-conversion]
                            if (!fa->fread(reqs[i]->out, size, (-(int)size) & (SymmCipher::BLOCKSIZE - 1), transfer->pos, FSLogging::logOnError))
                                           ~~~~ ^
src/transferslot.cpp:1126:69: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
                        prepareRequest(reqs[i], transferbuf.tempURL(i), posrange.first, posrange.second);
                                                            ~~~~~~~ ^
src/transferslot.cpp:1126:45: warning: implicit conversion changes signedness: 'int' to 'std::vector<std::shared_ptr<mega::HttpReqXfer>>::size_type' (aka 'unsigned long') [-Wsign-conversion]
                        prepareRequest(reqs[i], transferbuf.tempURL(i), posrange.first, posrange.second);
                                       ~~~~ ^
src/transferslot.cpp:1131:125: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
                                << (transferbuf.isRaid() ? string(". Part size: " + std::to_string(transferbuf.raidPartSize(i, transfer->size))) : "")
                                                                                                   ~~~~~~~~~~~              ^
src/transferslot.cpp:1130:251: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
                                << (transferbuf.isRaid() ? "Transfer" : "Raid part") << " pos: " << transferbuf.transferPos(i) << ". New " << (transferbuf.isRaid() ? "Transfer" : "Raid part") << " pos: " << (std::max<m_off_t>(transferbuf.transferPos(i), posrange.second))
                                                                                                                                                                                                                                              ~~~~~~~~~~~ ^
src/transferslot.cpp:1130:125: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
                                << (transferbuf.isRaid() ? "Transfer" : "Raid part") << " pos: " << transferbuf.transferPos(i) << ". New " << (transferbuf.isRaid() ? "Transfer" : "Raid part") << " pos: " << (std::max<m_off_t>(transferbuf.transferPos(i), posrange.second))
                                                                                                                ~~~~~~~~~~~ ^
src/transferslot.cpp:1133:45: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
                    transferbuf.transferPos(i) = std::max<m_off_t>(transferbuf.transferPos(i), posrange.second);
                                ~~~~~~~~~~~ ^
src/transferslot.cpp:1133:92: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
                    transferbuf.transferPos(i) = std::max<m_off_t>(transferbuf.transferPos(i), posrange.second);
                                                                               ~~~~~~~~~~~ ^
src/transferslot.cpp:1135:31: warning: implicit conversion changes signedness: 'int' to 'std::vector<std::shared_ptr<mega::HttpReqXfer>>::size_type' (aka 'unsigned long') [-Wsign-conversion]
                else if (reqs[i])
                         ~~~~ ^
src/transferslot.cpp:1137:26: warning: implicit conversion changes signedness: 'int' to 'std::vector<std::shared_ptr<mega::HttpReqXfer>>::size_type' (aka 'unsigned long') [-Wsign-conversion]
                    reqs[i]->status = REQ_DONE;
                    ~~~~ ^
src/transferslot.cpp:1142:84: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
                        auto outputPiece = transferbuf.getAsyncOutputBufferPointer(i);
                                                       ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
src/transferslot.cpp:1146:34: warning: implicit conversion changes signedness: 'int' to 'std::vector<std::shared_ptr<mega::HttpReqXfer>>::size_type' (aka 'unsigned long') [-Wsign-conversion]
                            reqs[i]->status = REQ_SUCCESS;
                            ~~~~ ^
src/transferslot.cpp:1147:58: warning: implicit conversion changes signedness: 'int' to 'std::vector<std::shared_ptr<mega::HttpReqXfer>>::size_type' (aka 'unsigned long') [-Wsign-conversion]
                            static_cast<HttpReqDL*>(reqs[i].get())->buffer_released = true;
                                                    ~~~~ ^
src/transferslot.cpp:1162:33: warning: implicit conversion changes signedness: 'int' to 'std::vector<std::shared_ptr<mega::HttpReqXfer>>::size_type' (aka 'unsigned long') [-Wsign-conversion]
            if (reqs[i] && reqs[i]->status == REQ_INFLIGHT)
                           ~~~~ ^
src/transferslot.cpp:1162:22: warning: implicit conversion changes signedness: 'int' to 'std::vector<std::shared_ptr<mega::HttpReqXfer>>::size_type' (aka 'unsigned long') [-Wsign-conversion]
            if (reqs[i] && reqs[i]->status == REQ_INFLIGHT)
                ~~~~ ^
src/transferslot.cpp:1164:64: warning: implicit conversion changes signedness: 'int' to 'std::vector<std::shared_ptr<mega::HttpReqXfer>>::size_type' (aka 'unsigned long') [-Wsign-conversion]
                if (!numInflight || earliestPosInFlight > reqs[i]->pos)
                                                          ~~~~ ^
src/transferslot.cpp:1166:48: warning: implicit conversion changes signedness: 'int' to 'std::vector<std::shared_ptr<mega::HttpReqXfer>>::size_type' (aka 'unsigned long') [-Wsign-conversion]
                    earliestPosInFlight = reqs[i]->pos;
                                          ~~~~ ^
src/transferslot.cpp:1175:22: warning: implicit conversion changes signedness: 'int' to 'std::vector<std::shared_ptr<mega::HttpReqXfer>>::size_type' (aka 'unsigned long') [-Wsign-conversion]
            if (reqs[i])
                ~~~~ ^
src/transferslot.cpp:1179:79: warning: implicit conversion changes signedness: 'int' to 'std::vector<std::shared_ptr<mega::HttpReqXfer>>::size_type' (aka 'unsigned long') [-Wsign-conversion]
                    earliestPosInFlight + MAX_GAP_SIZE < (reqs[i]->pos + reqs[i]->size)))
                                                                         ~~~~ ^
src/transferslot.cpp:1179:64: warning: implicit conversion changes signedness: 'int' to 'std::vector<std::shared_ptr<mega::HttpReqXfer>>::size_type' (aka 'unsigned long') [-Wsign-conversion]
                    earliestPosInFlight + MAX_GAP_SIZE < (reqs[i]->pos + reqs[i]->size)))
                                                          ~~~~ ^
src/transferslot.cpp:1177:26: warning: implicit conversion changes signedness: 'int' to 'std::vector<std::shared_ptr<mega::HttpReqXfer>>::size_type' (aka 'unsigned long') [-Wsign-conversion]
                if (reqs[i]->status == REQ_PREPARED &&
                    ~~~~ ^
src/transferslot.cpp:1181:107: warning: implicit conversion changes signedness: 'int' to 'std::vector<std::shared_ptr<mega::HttpReqXfer>>::size_type' (aka 'unsigned long') [-Wsign-conversion]
                    LOG_debug << "Connection " << i << " delaying until earliest completes. pos=" << reqs[i]->pos;
                                                                                                     ~~~~ ^
src/transferslot.cpp:1182:26: warning: implicit conversion changes signedness: 'int' to 'std::vector<std::shared_ptr<mega::HttpReqXfer>>::size_type' (aka 'unsigned long') [-Wsign-conversion]
                    reqs[i]->status = REQ_UPLOAD_PREPARED_BUT_WAIT;
                    ~~~~ ^
src/transferslot.cpp:1184:31: warning: implicit conversion changes signedness: 'int' to 'std::vector<std::shared_ptr<mega::HttpReqXfer>>::size_type' (aka 'unsigned long') [-Wsign-conversion]
                else if (reqs[i]->status == REQ_UPLOAD_PREPARED_BUT_WAIT &&
                         ~~~~ ^
src/transferslot.cpp:1187:81: warning: implicit conversion changes signedness: 'int' to 'std::vector<std::shared_ptr<mega::HttpReqXfer>>::size_type' (aka 'unsigned long') [-Wsign-conversion]
                    LOG_debug << "Connection " << i << " resumes. pos=" << reqs[i]->pos;
                                                                           ~~~~ ^
src/transferslot.cpp:1188:26: warning: implicit conversion changes signedness: 'int' to 'std::vector<std::shared_ptr<mega::HttpReqXfer>>::size_type' (aka 'unsigned long') [-Wsign-conversion]
                    reqs[i]->status = REQ_PREPARED;
                    ~~~~ ^
src/transferslot.cpp:1196:18: warning: implicit conversion changes signedness: 'int' to 'std::vector<std::shared_ptr<mega::HttpReqXfer>>::size_type' (aka 'unsigned long') [-Wsign-conversion]
        if (reqs[i] && !failure)
            ~~~~ ^
src/transferslot.cpp:1198:23: warning: implicit conversion changes signedness: 'int' to 'std::vector<std::shared_ptr<mega::HttpReqXfer>>::size_type' (aka 'unsigned long') [-Wsign-conversion]
            if ((reqs[i]->status == REQ_PREPARED) && !backoff)
                 ~~~~ ^
src/transferslot.cpp:1200:28: warning: implicit conversion changes signedness: 'int' to 'std::vector<mega::SpeedController>::size_type' (aka 'unsigned long') [-Wsign-conversion]
                mReqSpeeds[i].requestStarted();
                ~~~~~~~~~~ ^
src/transferslot.cpp:1201:22: warning: implicit conversion changes signedness: 'int' to 'std::vector<std::shared_ptr<mega::HttpReqXfer>>::size_type' (aka 'unsigned long') [-Wsign-conversion]
                reqs[i]->minspeed = true;
                ~~~~ ^
src/transferslot.cpp:1202:22: warning: implicit conversion changes signedness: 'int' to 'std::vector<std::shared_ptr<mega::HttpReqXfer>>::size_type' (aka 'unsigned long') [-Wsign-conversion]
                reqs[i]->post(client); // status becomes either REQ_INFLIGHT or REQ_FAILED
                ~~~~ ^
src/transferslot.cpp:1261:33: warning: implicit conversion changes signedness: 'int' to 'std::vector<std::shared_ptr<mega::HttpReqXfer>>::size_type' (aka 'unsigned long') [-Wsign-conversion]
            if (reqs[i] && reqs[i]->status == REQ_INFLIGHT)
                           ~~~~ ^
src/transferslot.cpp:1261:22: warning: implicit conversion changes signedness: 'int' to 'std::vector<std::shared_ptr<mega::HttpReqXfer>>::size_type' (aka 'unsigned long') [-Wsign-conversion]
            if (reqs[i] && reqs[i]->status == REQ_INFLIGHT)
                ~~~~ ^
src/transferslot.cpp:1264:46: warning: implicit conversion changes signedness: 'int' to 'std::vector<std::shared_ptr<mega::HttpReqXfer>>::size_type' (aka 'unsigned long') [-Wsign-conversion]
                client->setchunkfailed(&reqs[i]->posturl);
                                        ~~~~ ^
src/transferslot.cpp:1265:22: warning: implicit conversion changes signedness: 'int' to 'std::vector<std::shared_ptr<mega::HttpReqXfer>>::size_type' (aka 'unsigned long') [-Wsign-conversion]
                reqs[i]->disconnect();
                ~~~~ ^
src/transferslot.cpp:1269:37: warning: implicit conversion changes signedness: 'int' to 'std::vector<std::shared_ptr<mega::HttpReqXfer>>::size_type' (aka 'unsigned long') [-Wsign-conversion]
                    toggleport(reqs[i].get());
                               ~~~~ ^
src/transferslot.cpp:1272:22: warning: implicit conversion changes signedness: 'int' to 'std::vector<std::shared_ptr<mega::HttpReqXfer>>::size_type' (aka 'unsigned long') [-Wsign-conversion]
                reqs[i]->status = REQ_PREPARED;
                ~~~~ ^
src/transferslot.cpp:1308:31: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
            for (unsigned j = connections; j--; )
                          ~   ^~~~~~~~~~~
src/transferslot.cpp:1371:32: warning: implicit conversion changes signedness: 'int64_t' (aka 'long long') to 'uint64_t' (aka 'unsigned long long') [-Wsign-conversion]
                     transfer->ctriv,
                     ~~~~~~~~~~^~~~~
src/transferslot.cpp:1417:46: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
        if (!tryRaidRecoveryFromHttpGetError(channel, true))
             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~
src/transferslot.cpp:1422:74: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
    else if (httpReq->httpstatus == 0 && tryRaidRecoveryFromHttpGetError(channel, true))
                                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~
180 warnings generated.
  CXX      src/libmega_la-treeproc.lo
In file included from src/treeproc.cpp:22:
In file included from ./include/mega/treeproc.h:25:
In file included from ./include/mega/sharenodekeys.h:25:
In file included from ./include/mega/types.h:76:
In file included from ./include/mega/crypto/cryptopp.h:28:
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/ccm.h:50:11: warning: implicit conversion changes signedness: 'const int' to 'unsigned int' [-Wsign-conversion]
                {return m_digestSize;}
                 ~~~~~~ ^~~~~~~~~~~~
In file included from src/treeproc.cpp:22:
In file included from ./include/mega/treeproc.h:25:
In file included from ./include/mega/sharenodekeys.h:25:
In file included from ./include/mega/types.h:76:
In file included from ./include/mega/crypto/cryptopp.h:39:
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:138:6: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
        if (timeInSeconds)
        ~~  ^~~~~~~~~~~~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:141:29: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
        for (i=1; i<iterations || (timeInSeconds && (i%128!=0 || timer.ElapsedTimeAsDouble() < timeInSeconds)); i++)
                                   ^~~~~~~~~~~~~ ~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:285:7: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                if (timeInSeconds)
                ~~  ^~~~~~~~~~~~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:291:30: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                for (j=1; j<iterations || (timeInSeconds && (j%128!=0 || timer.ElapsedTimeAsDouble() < timeInSeconds)); j++)
                                           ^~~~~~~~~~~~~ ~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:297:7: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                if (timeInSeconds)
                ~~  ^~~~~~~~~~~~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:441:7: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                if (timeInSeconds)
                ~~  ^~~~~~~~~~~~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:447:30: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                for (i=1; i<iterations || (timeInSeconds && (i%128!=0 || timer.ElapsedTimeAsDouble() < timeInSeconds)); i++)
                                           ^~~~~~~~~~~~~ ~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:450:7: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                if (timeInSeconds)
                ~~  ^~~~~~~~~~~~~
In file included from src/treeproc.cpp:22:
In file included from ./include/mega/treeproc.h:28:
In file included from ./include/mega/sync.h:25:
In file included from ./include/mega/db.h:26:
./include/mega/logging.h:605:41: warning: implicit conversion changes signedness: 'size_t' (aka 'unsigned long') to 'std::streamsize' (aka 'long') [-Wsign-conversion]
        ostr.write(obj.constChar(), obj.size());
             ~~~~~                  ~~~~^~~~~~
In file included from src/treeproc.cpp:23:
In file included from ./include/mega/megaclient.h:43:
./include/mega/setandelement.h:173:63: warning: implicit conversion changes signedness: 'int' to 'const uint64_t' (aka 'const unsigned long long') [-Wsign-conversion]
        void setChanged(int changeType) { if (validChangeType(changeType, CH_EL_SIZE)) mChanges[changeType] = 1; }
                                              ~~~~~~~~~~~~~~~ ^~~~~~~~~~
./include/mega/setandelement.h:173:97: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        void setChanged(int changeType) { if (validChangeType(changeType, CH_EL_SIZE)) mChanges[changeType] = 1; }
                                                                                       ~~~~~~~~ ^~~~~~~~~~
./include/mega/setandelement.h:279:63: warning: implicit conversion changes signedness: 'int' to 'const uint64_t' (aka 'const unsigned long long') [-Wsign-conversion]
        void setChanged(int changeType) { if (validChangeType(changeType, CH_SIZE)) mChanges[changeType] = 1; }
                                              ~~~~~~~~~~~~~~~ ^~~~~~~~~~
./include/mega/setandelement.h:279:94: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        void setChanged(int changeType) { if (validChangeType(changeType, CH_SIZE)) mChanges[changeType] = 1; }
                                                                                    ~~~~~~~~ ^~~~~~~~~~
14 warnings generated.
  CXX      src/libmega_la-user.lo
In file included from src/user.cpp:22:
In file included from ./include/mega/user.h:25:
In file included from ./include/mega/attrmap.h:25:
In file included from ./include/mega/utils.h:30:
In file included from ./include/mega/types.h:76:
In file included from ./include/mega/crypto/cryptopp.h:28:
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/ccm.h:50:11: warning: implicit conversion changes signedness: 'const int' to 'unsigned int' [-Wsign-conversion]
                {return m_digestSize;}
                 ~~~~~~ ^~~~~~~~~~~~
In file included from src/user.cpp:22:
In file included from ./include/mega/user.h:25:
In file included from ./include/mega/attrmap.h:25:
In file included from ./include/mega/utils.h:30:
In file included from ./include/mega/types.h:76:
In file included from ./include/mega/crypto/cryptopp.h:39:
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:138:6: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
        if (timeInSeconds)
        ~~  ^~~~~~~~~~~~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:141:29: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
        for (i=1; i<iterations || (timeInSeconds && (i%128!=0 || timer.ElapsedTimeAsDouble() < timeInSeconds)); i++)
                                   ^~~~~~~~~~~~~ ~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:285:7: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                if (timeInSeconds)
                ~~  ^~~~~~~~~~~~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:291:30: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                for (j=1; j<iterations || (timeInSeconds && (j%128!=0 || timer.ElapsedTimeAsDouble() < timeInSeconds)); j++)
                                           ^~~~~~~~~~~~~ ~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:297:7: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                if (timeInSeconds)
                ~~  ^~~~~~~~~~~~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:441:7: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                if (timeInSeconds)
                ~~  ^~~~~~~~~~~~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:447:30: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                for (i=1; i<iterations || (timeInSeconds && (i%128!=0 || timer.ElapsedTimeAsDouble() < timeInSeconds)); i++)
                                           ^~~~~~~~~~~~~ ~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:450:7: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                if (timeInSeconds)
                ~~  ^~~~~~~~~~~~~
In file included from src/user.cpp:23:
In file included from ./include/mega/megaclient.h:26:
In file included from ./include/mega/db.h:26:
./include/mega/logging.h:605:41: warning: implicit conversion changes signedness: 'size_t' (aka 'unsigned long') to 'std::streamsize' (aka 'long') [-Wsign-conversion]
        ostr.write(obj.constChar(), obj.size());
             ~~~~~                  ~~~~^~~~~~
In file included from src/user.cpp:23:
In file included from ./include/mega/megaclient.h:43:
./include/mega/setandelement.h:173:63: warning: implicit conversion changes signedness: 'int' to 'const uint64_t' (aka 'const unsigned long long') [-Wsign-conversion]
        void setChanged(int changeType) { if (validChangeType(changeType, CH_EL_SIZE)) mChanges[changeType] = 1; }
                                              ~~~~~~~~~~~~~~~ ^~~~~~~~~~
./include/mega/setandelement.h:173:97: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        void setChanged(int changeType) { if (validChangeType(changeType, CH_EL_SIZE)) mChanges[changeType] = 1; }
                                                                                       ~~~~~~~~ ^~~~~~~~~~
./include/mega/setandelement.h:279:63: warning: implicit conversion changes signedness: 'int' to 'const uint64_t' (aka 'const unsigned long long') [-Wsign-conversion]
        void setChanged(int changeType) { if (validChangeType(changeType, CH_SIZE)) mChanges[changeType] = 1; }
                                              ~~~~~~~~~~~~~~~ ^~~~~~~~~~
./include/mega/setandelement.h:279:94: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        void setChanged(int changeType) { if (validChangeType(changeType, CH_SIZE)) mChanges[changeType] = 1; }
                                                                                    ~~~~~~~~ ^~~~~~~~~~
src/user.cpp:180:9: warning: implicit conversion changes signedness: 'const char' to 'unsigned char' [-Wsign-conversion]
    l = *ptr++;
      ~ ^~~~~~
src/user.cpp:257:13: warning: implicit conversion changes signedness: 'const char' to 'unsigned char' [-Wsign-conversion]
        l = *ptr++;
          ~ ^~~~~~
src/user.cpp:271:29: warning: implicit conversion changes signedness: 'short' to 'uint32_t' (aka 'unsigned int') [-Wsign-conversion]
                valueSize = MemAccess::get<short>(ptr);
                          ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~
src/user.cpp:292:18: warning: implicit conversion changes signedness: 'short' to 'unsigned short' [-Wsign-conversion]
            ll = MemAccess::get<short>(ptr);
               ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~
18 warnings generated.
  CXX      src/libmega_la-useralerts.lo
In file included from src/useralerts.cpp:22:
./include/mega.h:33:32: warning: unknown warning group '-Wunqualified-std-cast-call', ignored [-Wunknown-warning-option]
#pragma GCC diagnostic ignored "-Wunqualified-std-cast-call"
                               ^
In file included from src/useralerts.cpp:22:
In file included from ./include/mega.h:37:
In file included from ./include/mega/types.h:76:
In file included from ./include/mega/crypto/cryptopp.h:28:
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/ccm.h:50:11: warning: implicit conversion changes signedness: 'const int' to 'unsigned int' [-Wsign-conversion]
                {return m_digestSize;}
                 ~~~~~~ ^~~~~~~~~~~~
In file included from src/useralerts.cpp:22:
In file included from ./include/mega.h:37:
In file included from ./include/mega/types.h:76:
In file included from ./include/mega/crypto/cryptopp.h:39:
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:138:6: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
        if (timeInSeconds)
        ~~  ^~~~~~~~~~~~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:141:29: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
        for (i=1; i<iterations || (timeInSeconds && (i%128!=0 || timer.ElapsedTimeAsDouble() < timeInSeconds)); i++)
                                   ^~~~~~~~~~~~~ ~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:285:7: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                if (timeInSeconds)
                ~~  ^~~~~~~~~~~~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:291:30: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                for (j=1; j<iterations || (timeInSeconds && (j%128!=0 || timer.ElapsedTimeAsDouble() < timeInSeconds)); j++)
                                           ^~~~~~~~~~~~~ ~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:297:7: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                if (timeInSeconds)
                ~~  ^~~~~~~~~~~~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:441:7: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                if (timeInSeconds)
                ~~  ^~~~~~~~~~~~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:447:30: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                for (i=1; i<iterations || (timeInSeconds && (i%128!=0 || timer.ElapsedTimeAsDouble() < timeInSeconds)); i++)
                                           ^~~~~~~~~~~~~ ~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:450:7: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                if (timeInSeconds)
                ~~  ^~~~~~~~~~~~~
In file included from src/useralerts.cpp:22:
In file included from ./include/mega.h:52:
In file included from ./include/mega/db.h:26:
./include/mega/logging.h:605:41: warning: implicit conversion changes signedness: 'size_t' (aka 'unsigned long') to 'std::streamsize' (aka 'long') [-Wsign-conversion]
        ostr.write(obj.constChar(), obj.size());
             ~~~~~                  ~~~~^~~~~~
In file included from src/useralerts.cpp:22:
In file included from ./include/mega.h:54:
In file included from ./include/mega/pubkeyaction.h:25:
In file included from ./include/mega/megaclient.h:43:
./include/mega/setandelement.h:173:63: warning: implicit conversion changes signedness: 'int' to 'const uint64_t' (aka 'const unsigned long long') [-Wsign-conversion]
        void setChanged(int changeType) { if (validChangeType(changeType, CH_EL_SIZE)) mChanges[changeType] = 1; }
                                              ~~~~~~~~~~~~~~~ ^~~~~~~~~~
./include/mega/setandelement.h:173:97: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        void setChanged(int changeType) { if (validChangeType(changeType, CH_EL_SIZE)) mChanges[changeType] = 1; }
                                                                                       ~~~~~~~~ ^~~~~~~~~~
./include/mega/setandelement.h:279:63: warning: implicit conversion changes signedness: 'int' to 'const uint64_t' (aka 'const unsigned long long') [-Wsign-conversion]
        void setChanged(int changeType) { if (validChangeType(changeType, CH_SIZE)) mChanges[changeType] = 1; }
                                              ~~~~~~~~~~~~~~~ ^~~~~~~~~~
./include/mega/setandelement.h:279:94: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        void setChanged(int changeType) { if (validChangeType(changeType, CH_SIZE)) mChanges[changeType] = 1; }
                                                                                    ~~~~~~~~ ^~~~~~~~~~
In file included from src/useralerts.cpp:22:
In file included from ./include/mega.h:91:
./include/mega/db/sqlite.h:144:10: warning: 'mega::SqliteAccountState::put' hides overloaded virtual function [-Woverloaded-virtual]
    bool put(Node* node) override;
         ^
./include/mega/db/sqlite.h:53:10: note: hidden overloaded virtual function 'mega::SqliteDbTable::put' declared here: different number of parameters (3 vs 1)
    bool put(uint32_t, char*, unsigned) override;
         ^
src/useralerts.cpp:400:20: warning: implicit conversion changes signedness: 'const int' to 'uint32_t' (aka 'unsigned int') [-Wsign-conversion]
    w.serializeu32(action);
      ~~~~~~~~~~~~ ^~~~~~
src/useralerts.cpp:465:20: warning: implicit conversion changes signedness: 'const int' to 'uint32_t' (aka 'unsigned int') [-Wsign-conversion]
    w.serializeu32(action);
      ~~~~~~~~~~~~ ^~~~~~
src/useralerts.cpp:526:20: warning: implicit conversion changes signedness: 'const int' to 'uint32_t' (aka 'unsigned int') [-Wsign-conversion]
    w.serializeu32(action);
      ~~~~~~~~~~~~ ^~~~~~
src/useralerts.cpp:1114:20: warning: implicit conversion changes signedness: 'const int' to 'uint32_t' (aka 'unsigned int') [-Wsign-conversion]
    w.serializeu32(planNumber);
      ~~~~~~~~~~~~ ^~~~~~~~~~
20 warnings generated.
  CXX      src/libmega_la-utils.lo
In file included from src/utils.cpp:22:
In file included from ./include/mega/utils.h:30:
In file included from ./include/mega/types.h:76:
In file included from ./include/mega/crypto/cryptopp.h:28:
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/ccm.h:50:11: warning: implicit conversion changes signedness: 'const int' to 'unsigned int' [-Wsign-conversion]
                {return m_digestSize;}
                 ~~~~~~ ^~~~~~~~~~~~
In file included from src/utils.cpp:22:
In file included from ./include/mega/utils.h:30:
In file included from ./include/mega/types.h:76:
In file included from ./include/mega/crypto/cryptopp.h:39:
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:138:6: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
        if (timeInSeconds)
        ~~  ^~~~~~~~~~~~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:141:29: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
        for (i=1; i<iterations || (timeInSeconds && (i%128!=0 || timer.ElapsedTimeAsDouble() < timeInSeconds)); i++)
                                   ^~~~~~~~~~~~~ ~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:285:7: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                if (timeInSeconds)
                ~~  ^~~~~~~~~~~~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:291:30: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                for (j=1; j<iterations || (timeInSeconds && (j%128!=0 || timer.ElapsedTimeAsDouble() < timeInSeconds)); j++)
                                           ^~~~~~~~~~~~~ ~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:297:7: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                if (timeInSeconds)
                ~~  ^~~~~~~~~~~~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:441:7: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                if (timeInSeconds)
                ~~  ^~~~~~~~~~~~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:447:30: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                for (i=1; i<iterations || (timeInSeconds && (i%128!=0 || timer.ElapsedTimeAsDouble() < timeInSeconds)); i++)
                                           ^~~~~~~~~~~~~ ~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:450:7: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                if (timeInSeconds)
                ~~  ^~~~~~~~~~~~~
In file included from src/utils.cpp:23:
./include/mega/logging.h:605:41: warning: implicit conversion changes signedness: 'size_t' (aka 'unsigned long') to 'std::streamsize' (aka 'long') [-Wsign-conversion]
        ostr.write(obj.constChar(), obj.size());
             ~~~~~                  ~~~~^~~~~~
In file included from src/utils.cpp:24:
In file included from ./include/mega/megaclient.h:43:
./include/mega/setandelement.h:173:63: warning: implicit conversion changes signedness: 'int' to 'const uint64_t' (aka 'const unsigned long long') [-Wsign-conversion]
        void setChanged(int changeType) { if (validChangeType(changeType, CH_EL_SIZE)) mChanges[changeType] = 1; }
                                              ~~~~~~~~~~~~~~~ ^~~~~~~~~~
./include/mega/setandelement.h:173:97: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        void setChanged(int changeType) { if (validChangeType(changeType, CH_EL_SIZE)) mChanges[changeType] = 1; }
                                                                                       ~~~~~~~~ ^~~~~~~~~~
./include/mega/setandelement.h:279:63: warning: implicit conversion changes signedness: 'int' to 'const uint64_t' (aka 'const unsigned long long') [-Wsign-conversion]
        void setChanged(int changeType) { if (validChangeType(changeType, CH_SIZE)) mChanges[changeType] = 1; }
                                              ~~~~~~~~~~~~~~~ ^~~~~~~~~~
./include/mega/setandelement.h:279:94: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        void setChanged(int changeType) { if (validChangeType(changeType, CH_SIZE)) mChanges[changeType] = 1; }
                                                                                    ~~~~~~~~ ^~~~~~~~~~
src/utils.cpp:203:35: warning: implicit conversion changes signedness: 'int' to 'std::basic_string<char>::size_type' (aka 'unsigned long') [-Wsign-conversion]
    dest.append((const char*)buf, Serialize64::serialize(buf, field));
         ~~~~~~                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/utils.cpp:300:20: warning: implicit conversion changes signedness: 'long' to 'std::basic_string<char>::size_type' (aka 'unsigned long') [-Wsign-conversion]
    d.erase(0, ptr - d.data());
      ~~~~~    ~~~~^~~~~~~~~~
src/utils.cpp:521:66: warning: implicit conversion changes signedness: 'int64_t' (aka 'long long') to 'mega::SymmCipher::ctr_iv' (aka 'unsigned long long') [-Wsign-conversion]
    cipher->ctr_crypt(chunkstart, unsigned(chunksize), startpos, ctriv, chunk.mac, true, true);
            ~~~~~~~~~                                            ^~~~~
src/utils.cpp:534:56: warning: implicit conversion changes signedness: 'int64_t' (aka 'long long') to 'mega::SymmCipher::ctr_iv' (aka 'unsigned long long') [-Wsign-conversion]
    cipher->ctr_crypt(chunkstart, chunksize, startpos, ctriv, chunk.mac, false, chunk.notStarted());
            ~~~~~~~~~                                  ^~~~~
src/utils.cpp:919:18: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion]
    for (int i = usedFlagCount;  i < 8; i++ )
             ~   ^~~~~~~~~~~~~
src/utils.cpp:986:56: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
    data->resize((data->size() + key->BLOCKSIZE - 1) & - key->BLOCKSIZE, 'P');
                                                     ~ ^~~~~~~~~~~~~~~~
src/utils.cpp:1212:25: warning: implicit conversion changes signedness: 'mega::byte' (aka 'unsigned char') to 'std::basic_string<char>::value_type' (aka 'char') [-Wsign-conversion]
    keyString.append(1, (byte)(cleartext->size() >> 8));
              ~~~~~~    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/utils.cpp:1213:25: warning: implicit conversion changes signedness: 'mega::byte' (aka 'unsigned char') to 'std::basic_string<char>::value_type' (aka 'char') [-Wsign-conversion]
    keyString.append(1, (byte)(cleartext->size()));
              ~~~~~~    ^~~~~~~~~~~~~~~~~~~~~~~~~
src/utils.cpp:1229:20: warning: implicit conversion changes signedness: 'int' to 'std::basic_string<char>::size_type' (aka 'unsigned long') [-Wsign-conversion]
    result->resize(pubkdatalen);
            ~~~~~~ ^~~~~~~~~~~
src/utils.cpp:1234:26: warning: implicit conversion changes signedness: 'mega::byte' (aka 'unsigned char') to 'std::basic_string<char>::value_type' (aka 'char') [-Wsign-conversion]
    result->insert(0, 1, (byte)(reslen >> 8));
            ~~~~~~       ^~~~~~~~~~~~~~~~~~~
src/utils.cpp:1235:26: warning: implicit conversion changes signedness: 'mega::byte' (aka 'unsigned char') to 'std::basic_string<char>::value_type' (aka 'char') [-Wsign-conversion]
    result->insert(1, 1, (byte)(reslen));
            ~~~~~~       ^~~~~~~~~~~~~~
src/utils.cpp:1517:18: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
                 | (unsigned char)data->at(offset + 1);
                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/utils.cpp:1650:29: warning: implicit conversion changes signedness: 'long' to 'std::basic_string<char>::size_type' (aka 'unsigned long') [-Wsign-conversion]
        result.append(buff, charLen);
               ~~~~~~       ^~~~~~~
src/utils.cpp:1678:29: warning: implicit conversion changes signedness: 'long' to 'std::basic_string<char>::size_type' (aka 'unsigned long') [-Wsign-conversion]
        result.append(buff, charLen);
               ~~~~~~       ^~~~~~~
src/utils.cpp:1752:33: warning: implicit conversion changes signedness: 'const std::basic_string<char>::value_type' (aka 'const char') to 'const unsigned char' [-Wsign-conversion]
        const unsigned char c = input[i];
                            ~   ^~~~~~~~
src/utils.cpp:2682:18: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion]
    for (int i = threadCount; i--; )
             ~   ^~~~~~~~~~~
src/utils.cpp:2919:16: warning: implicit conversion changes signedness: 'mega::m_time_t' (aka 'long long') to 'unsigned long long' [-Wsign-conversion]
    driveId |= m_time(nullptr);
            ~~ ^~~~~~~~~~~~~~~
src/utils.cpp:3135:78: warning: implicit conversion changes signedness: 'm_off_t' (aka 'long long') to 'unsigned long long' [-Wsign-conversion]
    auto completed = mDownloads.mCompletedBytes + mUploads.mCompletedBytes + inflightProgress;
                                                                           ~ ^~~~~~~~~~~~~~~~
32 warnings generated.
  CXX      src/libmega_la-logging.lo
In file included from src/logging.cpp:25:
In file included from ./include/mega/logging.h:114:
In file included from ./include/mega/utils.h:30:
In file included from ./include/mega/types.h:76:
In file included from ./include/mega/crypto/cryptopp.h:28:
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/ccm.h:50:11: warning: implicit conversion changes signedness: 'const int' to 'unsigned int' [-Wsign-conversion]
                {return m_digestSize;}
                 ~~~~~~ ^~~~~~~~~~~~
In file included from src/logging.cpp:25:
In file included from ./include/mega/logging.h:114:
In file included from ./include/mega/utils.h:30:
In file included from ./include/mega/types.h:76:
In file included from ./include/mega/crypto/cryptopp.h:39:
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:138:6: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
        if (timeInSeconds)
        ~~  ^~~~~~~~~~~~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:141:29: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
        for (i=1; i<iterations || (timeInSeconds && (i%128!=0 || timer.ElapsedTimeAsDouble() < timeInSeconds)); i++)
                                   ^~~~~~~~~~~~~ ~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:285:7: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                if (timeInSeconds)
                ~~  ^~~~~~~~~~~~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:291:30: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                for (j=1; j<iterations || (timeInSeconds && (j%128!=0 || timer.ElapsedTimeAsDouble() < timeInSeconds)); j++)
                                           ^~~~~~~~~~~~~ ~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:297:7: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                if (timeInSeconds)
                ~~  ^~~~~~~~~~~~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:441:7: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                if (timeInSeconds)
                ~~  ^~~~~~~~~~~~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:447:30: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                for (i=1; i<iterations || (timeInSeconds && (i%128!=0 || timer.ElapsedTimeAsDouble() < timeInSeconds)); i++)
                                           ^~~~~~~~~~~~~ ~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:450:7: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                if (timeInSeconds)
                ~~  ^~~~~~~~~~~~~
In file included from src/logging.cpp:25:
./include/mega/logging.h:605:41: warning: implicit conversion changes signedness: 'size_t' (aka 'unsigned long') to 'std::streamsize' (aka 'long') [-Wsign-conversion]
        ostr.write(obj.constChar(), obj.size());
             ~~~~~                  ~~~~^~~~~~
10 warnings generated.
  CXX      src/libmega_la-waiterbase.lo
In file included from src/waiterbase.cpp:22:
In file included from ./include/mega/waiter.h:25:
In file included from ./include/mega/types.h:76:
In file included from ./include/mega/crypto/cryptopp.h:28:
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/ccm.h:50:11: warning: implicit conversion changes signedness: 'const int' to 'unsigned int' [-Wsign-conversion]
                {return m_digestSize;}
                 ~~~~~~ ^~~~~~~~~~~~
In file included from src/waiterbase.cpp:22:
In file included from ./include/mega/waiter.h:25:
In file included from ./include/mega/types.h:76:
In file included from ./include/mega/crypto/cryptopp.h:39:
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:138:6: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
        if (timeInSeconds)
        ~~  ^~~~~~~~~~~~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:141:29: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
        for (i=1; i<iterations || (timeInSeconds && (i%128!=0 || timer.ElapsedTimeAsDouble() < timeInSeconds)); i++)
                                   ^~~~~~~~~~~~~ ~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:285:7: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                if (timeInSeconds)
                ~~  ^~~~~~~~~~~~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:291:30: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                for (j=1; j<iterations || (timeInSeconds && (j%128!=0 || timer.ElapsedTimeAsDouble() < timeInSeconds)); j++)
                                           ^~~~~~~~~~~~~ ~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:297:7: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                if (timeInSeconds)
                ~~  ^~~~~~~~~~~~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:441:7: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                if (timeInSeconds)
                ~~  ^~~~~~~~~~~~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:447:30: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                for (i=1; i<iterations || (timeInSeconds && (i%128!=0 || timer.ElapsedTimeAsDouble() < timeInSeconds)); i++)
                                           ^~~~~~~~~~~~~ ~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:450:7: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                if (timeInSeconds)
                ~~  ^~~~~~~~~~~~~
9 warnings generated.
  CXX      src/libmega_la-proxy.lo
In file included from src/proxy.cpp:22:
In file included from ./include/mega/proxy.h:25:
In file included from ./include/mega/types.h:76:
In file included from ./include/mega/crypto/cryptopp.h:28:
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/ccm.h:50:11: warning: implicit conversion changes signedness: 'const int' to 'unsigned int' [-Wsign-conversion]
                {return m_digestSize;}
                 ~~~~~~ ^~~~~~~~~~~~
In file included from src/proxy.cpp:22:
In file included from ./include/mega/proxy.h:25:
In file included from ./include/mega/types.h:76:
In file included from ./include/mega/crypto/cryptopp.h:39:
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:138:6: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
        if (timeInSeconds)
        ~~  ^~~~~~~~~~~~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:141:29: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
        for (i=1; i<iterations || (timeInSeconds && (i%128!=0 || timer.ElapsedTimeAsDouble() < timeInSeconds)); i++)
                                   ^~~~~~~~~~~~~ ~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:285:7: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                if (timeInSeconds)
                ~~  ^~~~~~~~~~~~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:291:30: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                for (j=1; j<iterations || (timeInSeconds && (j%128!=0 || timer.ElapsedTimeAsDouble() < timeInSeconds)); j++)
                                           ^~~~~~~~~~~~~ ~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:297:7: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                if (timeInSeconds)
                ~~  ^~~~~~~~~~~~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:441:7: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                if (timeInSeconds)
                ~~  ^~~~~~~~~~~~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:447:30: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                for (i=1; i<iterations || (timeInSeconds && (i%128!=0 || timer.ElapsedTimeAsDouble() < timeInSeconds)); i++)
                                           ^~~~~~~~~~~~~ ~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:450:7: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                if (timeInSeconds)
                ~~  ^~~~~~~~~~~~~
9 warnings generated.
  CXX      src/crypto/libmega_la-cryptopp.lo
In file included from src/crypto/cryptopp.cpp:22:
./include/mega.h:33:32: warning: unknown warning group '-Wunqualified-std-cast-call', ignored [-Wunknown-warning-option]
#pragma GCC diagnostic ignored "-Wunqualified-std-cast-call"
                               ^
In file included from src/crypto/cryptopp.cpp:22:
In file included from ./include/mega.h:37:
In file included from ./include/mega/types.h:76:
In file included from ./include/mega/crypto/cryptopp.h:28:
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/ccm.h:50:11: warning: implicit conversion changes signedness: 'const int' to 'unsigned int' [-Wsign-conversion]
                {return m_digestSize;}
                 ~~~~~~ ^~~~~~~~~~~~
In file included from src/crypto/cryptopp.cpp:22:
In file included from ./include/mega.h:37:
In file included from ./include/mega/types.h:76:
In file included from ./include/mega/crypto/cryptopp.h:39:
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:138:6: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
        if (timeInSeconds)
        ~~  ^~~~~~~~~~~~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:141:29: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
        for (i=1; i<iterations || (timeInSeconds && (i%128!=0 || timer.ElapsedTimeAsDouble() < timeInSeconds)); i++)
                                   ^~~~~~~~~~~~~ ~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:285:7: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                if (timeInSeconds)
                ~~  ^~~~~~~~~~~~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:291:30: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                for (j=1; j<iterations || (timeInSeconds && (j%128!=0 || timer.ElapsedTimeAsDouble() < timeInSeconds)); j++)
                                           ^~~~~~~~~~~~~ ~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:297:7: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                if (timeInSeconds)
                ~~  ^~~~~~~~~~~~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:441:7: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                if (timeInSeconds)
                ~~  ^~~~~~~~~~~~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:447:30: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                for (i=1; i<iterations || (timeInSeconds && (i%128!=0 || timer.ElapsedTimeAsDouble() < timeInSeconds)); i++)
                                           ^~~~~~~~~~~~~ ~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:450:7: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                if (timeInSeconds)
                ~~  ^~~~~~~~~~~~~
In file included from src/crypto/cryptopp.cpp:22:
In file included from ./include/mega.h:52:
In file included from ./include/mega/db.h:26:
./include/mega/logging.h:605:41: warning: implicit conversion changes signedness: 'size_t' (aka 'unsigned long') to 'std::streamsize' (aka 'long') [-Wsign-conversion]
        ostr.write(obj.constChar(), obj.size());
             ~~~~~                  ~~~~^~~~~~
In file included from src/crypto/cryptopp.cpp:22:
In file included from ./include/mega.h:54:
In file included from ./include/mega/pubkeyaction.h:25:
In file included from ./include/mega/megaclient.h:43:
./include/mega/setandelement.h:173:63: warning: implicit conversion changes signedness: 'int' to 'const uint64_t' (aka 'const unsigned long long') [-Wsign-conversion]
        void setChanged(int changeType) { if (validChangeType(changeType, CH_EL_SIZE)) mChanges[changeType] = 1; }
                                              ~~~~~~~~~~~~~~~ ^~~~~~~~~~
./include/mega/setandelement.h:173:97: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        void setChanged(int changeType) { if (validChangeType(changeType, CH_EL_SIZE)) mChanges[changeType] = 1; }
                                                                                       ~~~~~~~~ ^~~~~~~~~~
./include/mega/setandelement.h:279:63: warning: implicit conversion changes signedness: 'int' to 'const uint64_t' (aka 'const unsigned long long') [-Wsign-conversion]
        void setChanged(int changeType) { if (validChangeType(changeType, CH_SIZE)) mChanges[changeType] = 1; }
                                              ~~~~~~~~~~~~~~~ ^~~~~~~~~~
./include/mega/setandelement.h:279:94: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        void setChanged(int changeType) { if (validChangeType(changeType, CH_SIZE)) mChanges[changeType] = 1; }
                                                                                    ~~~~~~~~ ^~~~~~~~~~
In file included from src/crypto/cryptopp.cpp:22:
In file included from ./include/mega.h:91:
./include/mega/db/sqlite.h:144:10: warning: 'mega::SqliteAccountState::put' hides overloaded virtual function [-Woverloaded-virtual]
    bool put(Node* node) override;
         ^
./include/mega/db/sqlite.h:53:10: note: hidden overloaded virtual function 'mega::SqliteDbTable::put' declared here: different number of parameters (3 vs 1)
    bool put(uint32_t, char*, unsigned) override;
         ^
src/crypto/cryptopp.cpp:310:42: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion]
            aesccm16_e.Resynchronize(iv, ivlen);
                       ~~~~~~~~~~~~~     ^~~~~
src/crypto/cryptopp.cpp:317:41: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion]
            aesccm8_e.Resynchronize(iv, ivlen);
                      ~~~~~~~~~~~~~     ^~~~~
src/crypto/cryptopp.cpp:342:42: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion]
            aesccm16_d.Resynchronize(iv, ivlen);
                       ~~~~~~~~~~~~~     ^~~~~
src/crypto/cryptopp.cpp:349:41: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion]
            aesccm8_d.Resynchronize(iv, ivlen);
                      ~~~~~~~~~~~~~     ^~~~~
src/crypto/cryptopp.cpp:373:36: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion]
        aesgcm_e.Resynchronize(iv, ivlen);
                 ~~~~~~~~~~~~~     ^~~~~
src/crypto/cryptopp.cpp:374:114: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion]
        StringSource ss(*data, true, new AuthenticatedEncryptionFilter(aesgcm_e, new StringSink(*result), false, taglen));
                                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                           ^~~~~~
src/crypto/cryptopp.cpp:461:36: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion]
        aesgcm_d.Resynchronize(iv, ivlen);
                 ~~~~~~~~~~~~~     ^~~~~
src/crypto/cryptopp.cpp:577:26: warning: implicit conversion changes signedness: 'mega::byte' (aka 'unsigned char') to 'char' [-Wsign-conversion]
        invertedkey[i] = key[BLOCKSIZE - i - 1];
                       ~ ^~~~~~~~~~~~~~~~~~~~~~
src/crypto/cryptopp.cpp:596:13: warning: implicit conversion changes signedness: 'unsigned long long' to 'int64_t' (aka 'long long') [-Wsign-conversion]
    value = htobe64(value);
          ~ ^~~~~~~~~~~~~~
src/crypto/cryptopp.cpp:26:62: note: expanded from macro 'htobe64'
#define htobe64(x) (((uint64_t)htonl((uint32_t)((x) >> 32))) | (((uint64_t)htonl((uint32_t)x)) << 32))
                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/crypto/cryptopp.cpp:607:54: warning: implicit conversion changes signedness: 'ptrdiff_t' (aka 'long') to 'unsigned long' [-Wsign-conversion]
    if (((ptrdiff_t)src & (sizeof(long)-1)) == 0 && ((ptrdiff_t)dst & (sizeof(long)-1)) == 0) 
                                                     ^~~~~~~~~~~~~~ ~
src/crypto/cryptopp.cpp:607:10: warning: implicit conversion changes signedness: 'ptrdiff_t' (aka 'long') to 'unsigned long' [-Wsign-conversion]
    if (((ptrdiff_t)src & (sizeof(long)-1)) == 0 && ((ptrdiff_t)dst & (sizeof(long)-1)) == 0) 
         ^~~~~~~~~~~~~~ ~
src/crypto/cryptopp.cpp:662:33: warning: implicit conversion changes signedness: 'mega::SymmCipher::ctr_iv' (aka 'unsigned long long') to 'long long' [-Wsign-conversion]
    MemAccess::set<int64_t>(ctr,ctriv);
    ~~~~~~~~~                   ^~~~~
src/crypto/cryptopp.cpp:697:41: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion]
                    xorblock(data, mac, len);
                    ~~~~~~~~            ^~~
src/crypto/cryptopp.cpp:954:27: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion]
        for (int j = t[i].ByteCount(); j--;)
                 ~   ~~~~~^~~~~~~~~~~
src/crypto/cryptopp.cpp:956:30: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
            c = t[i].GetByte(j);
                     ~~~~~~~ ^
src/crypto/cryptopp.cpp:983:34: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        t[i] = Integer(data + p, n);
               ~~~~~~~           ^
src/crypto/cryptopp.cpp:1056:53: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
            = MakeParametersForTwoPrimesOfEqualSize(size)
              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~
In file included from src/crypto/cryptopp.cpp:22:
In file included from ./include/mega.h:37:
In file included from ./include/mega/types.h:76:
In file included from ./include/mega/crypto/cryptopp.h:39:
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:285:7: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                if (timeInSeconds)
                ~~  ^~~~~~~~~~~~~
src/crypto/cryptopp.cpp:1157:16: note: in instantiation of member function 'CryptoPP::PKCS5_PBKDF2_HMAC<CryptoPP::SHA512>::DeriveKey' requested here
        pbkdf2.DeriveKey(
               ^
In file included from src/crypto/cryptopp.cpp:22:
In file included from ./include/mega.h:37:
In file included from ./include/mega/types.h:76:
In file included from ./include/mega/crypto/cryptopp.h:39:
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:291:30: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                for (j=1; j<iterations || (timeInSeconds && (j%128!=0 || timer.ElapsedTimeAsDouble() < timeInSeconds)); j++)
                                           ^~~~~~~~~~~~~ ~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:297:7: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                if (timeInSeconds)
                ~~  ^~~~~~~~~~~~~
36 warnings generated.
  CXX      src/db/libmega_la-sqlite.lo
In file included from src/db/sqlite.cpp:22:
./include/mega.h:33:32: warning: unknown warning group '-Wunqualified-std-cast-call', ignored [-Wunknown-warning-option]
#pragma GCC diagnostic ignored "-Wunqualified-std-cast-call"
                               ^
In file included from src/db/sqlite.cpp:22:
In file included from ./include/mega.h:37:
In file included from ./include/mega/types.h:76:
In file included from ./include/mega/crypto/cryptopp.h:28:
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/ccm.h:50:11: warning: implicit conversion changes signedness: 'const int' to 'unsigned int' [-Wsign-conversion]
                {return m_digestSize;}
                 ~~~~~~ ^~~~~~~~~~~~
In file included from src/db/sqlite.cpp:22:
In file included from ./include/mega.h:37:
In file included from ./include/mega/types.h:76:
In file included from ./include/mega/crypto/cryptopp.h:39:
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:138:6: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
        if (timeInSeconds)
        ~~  ^~~~~~~~~~~~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:141:29: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
        for (i=1; i<iterations || (timeInSeconds && (i%128!=0 || timer.ElapsedTimeAsDouble() < timeInSeconds)); i++)
                                   ^~~~~~~~~~~~~ ~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:285:7: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                if (timeInSeconds)
                ~~  ^~~~~~~~~~~~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:291:30: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                for (j=1; j<iterations || (timeInSeconds && (j%128!=0 || timer.ElapsedTimeAsDouble() < timeInSeconds)); j++)
                                           ^~~~~~~~~~~~~ ~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:297:7: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                if (timeInSeconds)
                ~~  ^~~~~~~~~~~~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:441:7: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                if (timeInSeconds)
                ~~  ^~~~~~~~~~~~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:447:30: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                for (i=1; i<iterations || (timeInSeconds && (i%128!=0 || timer.ElapsedTimeAsDouble() < timeInSeconds)); i++)
                                           ^~~~~~~~~~~~~ ~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:450:7: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                if (timeInSeconds)
                ~~  ^~~~~~~~~~~~~
In file included from src/db/sqlite.cpp:22:
In file included from ./include/mega.h:52:
In file included from ./include/mega/db.h:26:
./include/mega/logging.h:605:41: warning: implicit conversion changes signedness: 'size_t' (aka 'unsigned long') to 'std::streamsize' (aka 'long') [-Wsign-conversion]
        ostr.write(obj.constChar(), obj.size());
             ~~~~~                  ~~~~^~~~~~
In file included from src/db/sqlite.cpp:22:
In file included from ./include/mega.h:54:
In file included from ./include/mega/pubkeyaction.h:25:
In file included from ./include/mega/megaclient.h:43:
./include/mega/setandelement.h:173:63: warning: implicit conversion changes signedness: 'int' to 'const uint64_t' (aka 'const unsigned long long') [-Wsign-conversion]
        void setChanged(int changeType) { if (validChangeType(changeType, CH_EL_SIZE)) mChanges[changeType] = 1; }
                                              ~~~~~~~~~~~~~~~ ^~~~~~~~~~
./include/mega/setandelement.h:173:97: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        void setChanged(int changeType) { if (validChangeType(changeType, CH_EL_SIZE)) mChanges[changeType] = 1; }
                                                                                       ~~~~~~~~ ^~~~~~~~~~
./include/mega/setandelement.h:279:63: warning: implicit conversion changes signedness: 'int' to 'const uint64_t' (aka 'const unsigned long long') [-Wsign-conversion]
        void setChanged(int changeType) { if (validChangeType(changeType, CH_SIZE)) mChanges[changeType] = 1; }
                                              ~~~~~~~~~~~~~~~ ^~~~~~~~~~
./include/mega/setandelement.h:279:94: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        void setChanged(int changeType) { if (validChangeType(changeType, CH_SIZE)) mChanges[changeType] = 1; }
                                                                                    ~~~~~~~~ ^~~~~~~~~~
In file included from src/db/sqlite.cpp:22:
In file included from ./include/mega.h:91:
./include/mega/db/sqlite.h:144:10: warning: 'mega::SqliteAccountState::put' hides overloaded virtual function [-Woverloaded-virtual]
    bool put(Node* node) override;
         ^
./include/mega/db/sqlite.h:53:10: note: hidden overloaded virtual function 'mega::SqliteDbTable::put' declared here: different number of parameters (3 vs 1)
    bool put(uint32_t, char*, unsigned) override;
         ^
src/db/sqlite.cpp:407:14: warning: implicit conversion changes signedness: 'int' to 'uint32_t' (aka 'unsigned int') [-Wsign-conversion]
    *index = sqlite3_column_int(pStmt, 0);
           ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/db/sqlite.cpp:409:56: warning: implicit conversion changes signedness: 'int' to 'std::basic_string<char>::size_type' (aka 'unsigned long') [-Wsign-conversion]
    data->assign((char*)sqlite3_column_blob(pStmt, 1), sqlite3_column_bytes(pStmt, 1));
          ~~~~~~                                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/db/sqlite.cpp:428:40: warning: implicit conversion changes signedness: 'uint32_t' (aka 'unsigned int') to 'int' [-Wsign-conversion]
        rc = sqlite3_bind_int(stmt, 1, index);
             ~~~~~~~~~~~~~~~~          ^~~~~
src/db/sqlite.cpp:434:67: warning: implicit conversion changes signedness: 'int' to 'std::basic_string<char>::size_type' (aka 'unsigned long') [-Wsign-conversion]
                data->assign((char*)sqlite3_column_blob(stmt, 0), sqlite3_column_bytes(stmt, 0));
                      ~~~~~~                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/db/sqlite.cpp:467:51: warning: implicit conversion changes signedness: 'uint32_t' (aka 'unsigned int') to 'int' [-Wsign-conversion]
        sqlResult = sqlite3_bind_int(mPutStmt, 1, index);
                    ~~~~~~~~~~~~~~~~              ^~~~~
src/db/sqlite.cpp:470:62: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion]
            sqlResult = sqlite3_bind_blob(mPutStmt, 2, data, len, SQLITE_STATIC);
                        ~~~~~~~~~~~~~~~~~                    ^~~
src/db/sqlite.cpp:504:51: warning: implicit conversion changes signedness: 'uint32_t' (aka 'unsigned int') to 'int' [-Wsign-conversion]
        sqlResult = sqlite3_bind_int(mDelStmt, 1, index);
                    ~~~~~~~~~~~~~~~~              ^~~~~
src/db/sqlite.cpp:665:29: warning: implicit conversion changes signedness: 'sqlite3_int64' (aka 'long long') to 'uint64_t' (aka 'unsigned long long') [-Wsign-conversion]
        nodeHandle.set6byte(sqlite3_column_int64(stmt, 0));
                   ~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/db/sqlite.cpp:674:77: warning: implicit conversion changes signedness: 'int' to 'std::basic_string<char>::size_type' (aka 'unsigned long') [-Wsign-conversion]
            node.mNodeCounter = std::string(static_cast<const char*>(data), size);
                                ~~~                                         ^~~~
src/db/sqlite.cpp:682:70: warning: implicit conversion changes signedness: 'int' to 'std::basic_string<char>::size_type' (aka 'unsigned long') [-Wsign-conversion]
            node.mNode = std::string(static_cast<const char*>(data), size);
                         ~~~                                         ^~~~
src/db/sqlite.cpp:745:80: warning: implicit conversion changes signedness: 'mega::handle' (aka 'unsigned long long') to 'sqlite3_int64' (aka 'long long') [-Wsign-conversion]
            if ((sqlResult = sqlite3_bind_int64(mStmtUpdateNode, 2, nodeHandle.as8byte())) == SQLITE_OK)
                             ~~~~~~~~~~~~~~~~~~                     ~~~~~~~~~~~^~~~~~~~~
src/db/sqlite.cpp:777:77: warning: implicit conversion changes signedness: 'uint64_t' (aka 'unsigned long long') to 'sqlite3_int64' (aka 'long long') [-Wsign-conversion]
            if ((sqlResult = sqlite3_bind_int64(mStmtUpdateNodeAndFlags, 2, flags)) == SQLITE_OK)
                             ~~~~~~~~~~~~~~~~~~                             ^~~~~
src/db/sqlite.cpp:779:92: warning: implicit conversion changes signedness: 'mega::handle' (aka 'unsigned long long') to 'sqlite3_int64' (aka 'long long') [-Wsign-conversion]
                if ((sqlResult = sqlite3_bind_int64(mStmtUpdateNodeAndFlags, 3, nodeHandle.as8byte())) == SQLITE_OK)
                                 ~~~~~~~~~~~~~~~~~~                             ~~~~~~~~~~~^~~~~~~~~
src/db/sqlite.cpp:943:51: warning: implicit conversion changes signedness: 'mega::handle' (aka 'unsigned long long') to 'sqlite3_int64' (aka 'long long') [-Wsign-conversion]
        sqlite3_bind_int64(mStmtPutNode, 1, node->nodehandle);
        ~~~~~~~~~~~~~~~~~~                  ~~~~~~^~~~~~~~~~
src/db/sqlite.cpp:944:51: warning: implicit conversion changes signedness: 'mega::handle' (aka 'unsigned long long') to 'sqlite3_int64' (aka 'long long') [-Wsign-conversion]
        sqlite3_bind_int64(mStmtPutNode, 2, node->parenthandle);
        ~~~~~~~~~~~~~~~~~~                  ~~~~~~^~~~~~~~~~~~
src/db/sqlite.cpp:973:52: warning: implicit conversion changes signedness: 'uint64_t' (aka 'unsigned long long') to 'sqlite3_int64' (aka 'long long') [-Wsign-conversion]
        sqlite3_bind_int64(mStmtPutNode, 11, node->getDBFlags());
        ~~~~~~~~~~~~~~~~~~                   ~~~~~~^~~~~~~~~~~~
src/db/sqlite.cpp:1006:73: warning: implicit conversion changes signedness: 'mega::handle' (aka 'unsigned long long') to 'sqlite3_int64' (aka 'long long') [-Wsign-conversion]
        if ((sqlResult = sqlite3_bind_int64(mStmtGetNode, 1, nodehandle.as8byte())) == SQLITE_OK)
                         ~~~~~~~~~~~~~~~~~~                  ~~~~~~~~~~~^~~~~~~~~
src/db/sqlite.cpp:1018:99: warning: implicit conversion changes signedness: 'int' to 'std::basic_string<char>::size_type' (aka 'unsigned long') [-Wsign-conversion]
                    nodeSerialized.mNodeCounter.assign(static_cast<const char*>(dataNodeCounter), sizeNodeCounter);
                                                ~~~~~~                                            ^~~~~~~~~~~~~~~
src/db/sqlite.cpp:1019:95: warning: implicit conversion changes signedness: 'int' to 'std::basic_string<char>::size_type' (aka 'unsigned long') [-Wsign-conversion]
                    nodeSerialized.mNode.assign(static_cast<const char*>(dataNodeSerialized), sizeNodeSerialized);
                                         ~~~~~~                                               ^~~~~~~~~~~~~~~~~~
src/db/sqlite.cpp:1142:76: warning: implicit conversion changes signedness: 'mega::handle' (aka 'unsigned long long') to 'sqlite3_int64' (aka 'long long') [-Wsign-conversion]
        if ((sqlResult = sqlite3_bind_int64(mStmtChildren, 1, parentHandle.as8byte())) == SQLITE_OK)
                         ~~~~~~~~~~~~~~~~~~                   ~~~~~~~~~~~~~^~~~~~~~~
src/db/sqlite.cpp:1180:84: warning: implicit conversion changes signedness: 'mega::handle' (aka 'unsigned long long') to 'sqlite3_int64' (aka 'long long') [-Wsign-conversion]
        if ((sqlResult = sqlite3_bind_int64(mStmtChildrenFromType, 1, parentHandle.as8byte())) == SQLITE_OK)
                         ~~~~~~~~~~~~~~~~~~                           ~~~~~~~~~~~~~^~~~~~~~~
src/db/sqlite.cpp:1215:79: warning: implicit conversion changes signedness: 'mega::handle' (aka 'unsigned long long') to 'sqlite3_int64' (aka 'long long') [-Wsign-conversion]
        if ((sqlResult = sqlite3_bind_int64(mStmtNumChildren, 1, parentHandle.as8byte())) == SQLITE_OK)
                         ~~~~~~~~~~~~~~~~~~                      ~~~~~~~~~~~~~^~~~~~~~~
src/db/sqlite.cpp:1219:30: warning: implicit conversion changes signedness: 'sqlite3_int64' (aka 'long long') to 'uint64_t' (aka 'unsigned long long') [-Wsign-conversion]
               numChildren = sqlite3_column_int64(mStmtNumChildren, 0);
                           ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/db/sqlite.cpp:1267:69: warning: implicit conversion changes signedness: 'mega::handle' (aka 'unsigned long long') to 'sqlite3_int64' (aka 'long long') [-Wsign-conversion]
        (sqlResult = sqlite3_bind_int64(mStmtGetChildren, 2, filter.byLocationHandle())) == SQLITE_OK &&
                     ~~~~~~~~~~~~~~~~~~                      ~~~~~~~^~~~~~~~~~~~~~~~~~
src/db/sqlite.cpp:1266:62: warning: implicit conversion changes signedness: 'uint64_t' (aka 'unsigned long long') to 'sqlite3_int64' (aka 'long long') [-Wsign-conversion]
        (sqlResult = sqlite3_bind_int64(mStmtGetChildren, 1, flags)) == SQLITE_OK &&
                     ~~~~~~~~~~~~~~~~~~                      ^~~~~
src/db/sqlite.cpp:1330:62: warning: implicit conversion changes signedness: 'uint64_t' (aka 'unsigned long long') to 'sqlite3_int64' (aka 'long long') [-Wsign-conversion]
        (sqlResult = sqlite3_bind_int64(mStmtSearchNodes, 1, excludeFlags)) == SQLITE_OK &&
                     ~~~~~~~~~~~~~~~~~~                      ^~~~~~~~~~~~
src/db/sqlite.cpp:1438:89: warning: implicit conversion changes signedness: 'mega::handle' (aka 'unsigned long long') to 'sqlite3_int64' (aka 'long long') [-Wsign-conversion]
        if ((sqlResult = sqlite3_bind_int64(mStmtNodeByNameNoRecursive, 1, parentHandle.as8byte())) == SQLITE_OK)
                         ~~~~~~~~~~~~~~~~~~                                ~~~~~~~~~~~~~^~~~~~~~~
src/db/sqlite.cpp:1647:70: warning: implicit conversion changes signedness: 'mega::handle' (aka 'unsigned long long') to 'sqlite3_int64' (aka 'long long') [-Wsign-conversion]
        if ((sqlResult = sqlite3_bind_int64(mStmtFavourites, 1, node.as8byte())) == SQLITE_OK)
                         ~~~~~~~~~~~~~~~~~~                     ~~~~~^~~~~~~~~
src/db/sqlite.cpp:1651:55: warning: implicit conversion changes signedness: 'sqlite3_int64' (aka 'long long') to 'uint64_t' (aka 'unsigned long long') [-Wsign-conversion]
                nodes.push_back(NodeHandle().set6byte(sqlite3_column_int64(mStmtFavourites, 0)));
                                             ~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/db/sqlite.cpp:1684:77: warning: implicit conversion changes signedness: 'mega::handle' (aka 'unsigned long long') to 'sqlite3_int64' (aka 'long long') [-Wsign-conversion]
        if ((sqlResult = sqlite3_bind_int64(mStmtChildNode, 1, parentHandle.as8byte())) == SQLITE_OK)
                         ~~~~~~~~~~~~~~~~~~                    ~~~~~~~~~~~~~^~~~~~~~~
src/db/sqlite.cpp:1728:75: warning: implicit conversion changes signedness: 'mega::handle' (aka 'unsigned long long') to 'sqlite3_int64' (aka 'long long') [-Wsign-conversion]
        if ((sqlResult = sqlite3_bind_int64(mStmtTypeAndSizeNode, 1, node.as8byte())) == SQLITE_OK)
                         ~~~~~~~~~~~~~~~~~~                          ~~~~~^~~~~~~~~
src/db/sqlite.cpp:1734:27: warning: implicit conversion changes signedness: 'sqlite3_int64' (aka 'long long') to 'uint64_t' (aka 'unsigned long long') [-Wsign-conversion]
               oldFlags = sqlite3_column_int64(mStmtTypeAndSizeNode, 2);
                        ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/db/sqlite.cpp:1776:70: warning: implicit conversion changes signedness: 'mega::handle' (aka 'unsigned long long') to 'sqlite3_int64' (aka 'long long') [-Wsign-conversion]
        if ((sqlResult = sqlite3_bind_int64(mStmtIsAncestor, 1, node.as8byte())) == SQLITE_OK)
                         ~~~~~~~~~~~~~~~~~~                     ~~~~~^~~~~~~~~
src/db/sqlite.cpp:1778:78: warning: implicit conversion changes signedness: 'mega::handle' (aka 'unsigned long long') to 'sqlite3_int64' (aka 'long long') [-Wsign-conversion]
            if ((sqlResult = sqlite3_bind_int64(mStmtIsAncestor, 2, ancestor.as8byte())) == SQLITE_OK)
                             ~~~~~~~~~~~~~~~~~~                     ~~~~~~~~~^~~~~~~~~
src/db/sqlite.cpp:1815:21: warning: implicit conversion changes signedness: 'sqlite3_int64' (aka 'long long') to 'uint64_t' (aka 'unsigned long long') [-Wsign-conversion]
            count = sqlite3_column_int64(stmt, 0);
                  ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/db/sqlite.cpp:1845:76: warning: implicit conversion changes signedness: 'mega::handle' (aka 'unsigned long long') to 'sqlite3_int64' (aka 'long long') [-Wsign-conversion]
        if ((sqlResult = sqlite3_bind_int64(mStmtNumChild, 1, parentHandle.as8byte())) == SQLITE_OK)
                         ~~~~~~~~~~~~~~~~~~                   ~~~~~~~~~~~~~^~~~~~~~~
src/db/sqlite.cpp:1851:29: warning: implicit conversion changes signedness: 'sqlite3_int64' (aka 'long long') to 'uint64_t' (aka 'unsigned long long') [-Wsign-conversion]
                    count = sqlite3_column_int64(mStmtNumChild, 0);
                          ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/db/sqlite.cpp:1957:105: warning: implicit conversion changes signedness: 'mega::handle' (aka 'unsigned long long') to 'sqlite3_int64' (aka 'long long') [-Wsign-conversion]
        if ((sqlResult = sqlite3_bind_int64(mStmtNodeByMimeTypeExcludeRecursiveFlags, 1, ancestorHandle.as8byte())) == SQLITE_OK &&
                         ~~~~~~~~~~~~~~~~~~                                              ~~~~~~~~~~~~~~~^~~~~~~~~
54 warnings generated.
  CXX      src/libmega_la-mega_utf8proc.lo
src/mega_utf8proc.cpp:124:12: warning: implicit conversion changes signedness: 'utf8proc_uint32_t' (aka 'unsigned int') to 'utf8proc_int32_t' (aka 'int') [-Wsign-conversion]
    *dst = uc;
         ~ ^~
src/mega_utf8proc.cpp:132:30: warning: implicit conversion changes signedness: 'unsigned int' to 'utf8proc_int32_t' (aka 'int') [-Wsign-conversion]
     *dst = ((uc & 0x1f)<<6) | (*str & 0x3f);
          ~ ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
src/mega_utf8proc.cpp:141:44: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
     uc = ((uc & 0xf)<<12) | ((*str & 0x3f)<<6) | (str[1] & 0x3f);
                           ~  ~~~~~~~~~~~~~^~~
src/mega_utf8proc.cpp:144:13: warning: implicit conversion changes signedness: 'utf8proc_uint32_t' (aka 'unsigned int') to 'utf8proc_int32_t' (aka 'int') [-Wsign-conversion]
     *dst = uc;
          ~ ^~
src/mega_utf8proc.cpp:157:70: warning: implicit conversion changes signedness: 'unsigned int' to 'utf8proc_int32_t' (aka 'int') [-Wsign-conversion]
  *dst = ((uc & 7)<<18) | ((*str & 0x3f)<<12) | ((str[1] & 0x3f)<<6) | (str[2] & 0x3f);
       ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
src/mega_utf8proc.cpp:157:65: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
  *dst = ((uc & 7)<<18) | ((*str & 0x3f)<<12) | ((str[1] & 0x3f)<<6) | (str[2] & 0x3f);
                                              ~  ~~~~~~~~~~~~~~~^~~
src/mega_utf8proc.cpp:157:41: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
  *dst = ((uc & 7)<<18) | ((*str & 0x3f)<<12) | ((str[1] & 0x3f)<<6) | (str[2] & 0x3f);
                        ~  ~~~~~~~~~~~~~^~~~
src/mega_utf8proc.cpp:364:51: warning: implicit conversion changes signedness: 'utf8proc_int32_t' (aka 'int') to 'utf8proc_uint32_t' (aka 'unsigned int') [-Wsign-conversion]
  return cl != UINT16_MAX ? seqindex_decode_index(cl) : c;
                            ~~~~~~~~~~~~~~~~~~~~~ ^~
src/mega_utf8proc.cpp:370:51: warning: implicit conversion changes signedness: 'utf8proc_int32_t' (aka 'int') to 'utf8proc_uint32_t' (aka 'unsigned int') [-Wsign-conversion]
  return cu != UINT16_MAX ? seqindex_decode_index(cu) : c;
                            ~~~~~~~~~~~~~~~~~~~~~ ^~
src/mega_utf8proc.cpp:376:51: warning: implicit conversion changes signedness: 'utf8proc_int32_t' (aka 'int') to 'utf8proc_uint32_t' (aka 'unsigned int') [-Wsign-conversion]
  return cu != UINT16_MAX ? seqindex_decode_index(cu) : c;
                            ~~~~~~~~~~~~~~~~~~~~~ ^~
src/mega_utf8proc.cpp:708:40: warning: implicit conversion changes signedness: 'utf8proc_ssize_t' (aka 'long') to 'unsigned long' [-Wsign-conversion]
  buffer = (utf8proc_int32_t *) malloc(result * sizeof(utf8proc_int32_t) + 1);
                                       ^~~~~~ ~
11 warnings generated.
  CXX      src/libmega_la-mega_ccronexpr.lo
src/mega_ccronexpr.cpp:197:32: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion]
        if (cron_get_bit(bits, i)) return i;
            ~~~~~~~~~~~~       ^
src/mega_ccronexpr.cpp:353:38: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion]
        err = add_to_field(calendar, nextField, 1);
              ~~~~~~~~~~~~           ^~~~~~~~~
src/mega_ccronexpr.cpp:355:31: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion]
        err = reset(calendar, field);
              ~~~~~           ^~~~~
src/mega_ccronexpr.cpp:361:42: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion]
        err = set_field(calendar, field, next_value);
              ~~~~~~~~~                  ^~~~~~~~~~
src/mega_ccronexpr.cpp:361:35: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion]
        err = set_field(calendar, field, next_value);
              ~~~~~~~~~           ^~~~~
src/mega_ccronexpr.cpp:377:87: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion]
    while ((!cron_get_bit(days_of_month, day_of_month) || !cron_get_bit(days_of_week, day_of_week)) && count++ < max) {
                                                           ~~~~~~~~~~~~               ^~~~~~~~~~~
src/mega_ccronexpr.cpp:377:42: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion]
    while ((!cron_get_bit(days_of_month, day_of_month) || !cron_get_bit(days_of_week, day_of_week)) && count++ < max) {
             ~~~~~~~~~~~~                ^~~~~~~~~~~~
src/mega_ccronexpr.cpp:381:34: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
        day_of_month = calendar->tm_mday;
                     ~ ~~~~~~~~~~^~~~~~~
src/mega_ccronexpr.cpp:382:33: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
        day_of_week = calendar->tm_wday;
                    ~ ~~~~~~~~~~^~~~~~~
src/mega_ccronexpr.cpp:418:24: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
    second = calendar->tm_sec;
           ~ ~~~~~~~~~~^~~~~~
src/mega_ccronexpr.cpp:425:24: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
    minute = calendar->tm_min;
           ~ ~~~~~~~~~~^~~~~~
src/mega_ccronexpr.cpp:435:22: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
    hour = calendar->tm_hour;
         ~ ~~~~~~~~~~^~~~~~~
src/mega_ccronexpr.cpp:445:29: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
    day_of_week = calendar->tm_wday;
                ~ ~~~~~~~~~~^~~~~~~
src/mega_ccronexpr.cpp:446:30: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
    day_of_month = calendar->tm_mday;
                 ~ ~~~~~~~~~~^~~~~~~
src/mega_ccronexpr.cpp:456:23: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
    month = calendar->tm_mon; /*day already adds one if no day in same month is found*/
          ~ ~~~~~~~~~~^~~~~~
src/mega_ccronexpr.cpp:460:23: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
        if (calendar->tm_year - dot > 4) {
            ~~~~~~~~~~^~~~~~~ ~
src/mega_ccronexpr.cpp:536:73: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
    tmp = result = (char*) cronMalloc(len_orig + (len_with - len_rep) * count + 1);
                                                                      ~ ^~~~~
src/mega_ccronexpr.cpp:108:30: note: expanded from macro 'cronMalloc'
#define cronMalloc(x) malloc(x);
                             ^
src/mega_ccronexpr.cpp:541:25: warning: implicit conversion changes signedness: 'long' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        len_front = ins - orig;
                  ~ ~~~~^~~~~~
src/mega_ccronexpr.cpp:765:38: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion]
                cron_set_bit(target, i1);
                ~~~~~~~~~~~~         ^~
src/mega_ccronexpr.cpp:798:38: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion]
                cron_set_bit(target, i1);
                ~~~~~~~~~~~~         ^~
src/mega_ccronexpr.cpp:829:32: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion]
        if (cron_get_bit(targ, i)) {
            ~~~~~~~~~~~~       ^
src/mega_ccronexpr.cpp:830:34: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion]
            cron_set_bit(targ, i - 1);
            ~~~~~~~~~~~~       ~~^~~
src/mega_ccronexpr.cpp:831:32: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion]
            cron_del_bit(targ, i);
            ~~~~~~~~~~~~       ^
src/mega_ccronexpr.cpp:840:37: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
    set_number_hits(field, targ, 0, max, error);
    ~~~~~~~~~~~~~~~                 ^~~
src/mega_ccronexpr.cpp:926:49: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
    int res = do_next(expr, calendar, calendar->tm_year);
              ~~~~~~~                 ~~~~~~~~~~^~~~~~~
src/mega_ccronexpr.cpp:935:53: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
        int res = do_next(expr, calendar, calendar->tm_year);
                  ~~~~~~~                 ~~~~~~~~~~^~~~~~~
26 warnings generated.
  CXX      src/libmega_la-mega_evt_tls.lo
src/mega_evt_tls.cpp:235:26: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
    void *buf = new char[pending];
                ~~~      ^~~~~~~
1 warning generated.
  CXX      src/gfx/libmega_la-external.lo
In file included from src/gfx/external.cpp:22:
./include/mega.h:33:32: warning: unknown warning group '-Wunqualified-std-cast-call', ignored [-Wunknown-warning-option]
#pragma GCC diagnostic ignored "-Wunqualified-std-cast-call"
                               ^
In file included from src/gfx/external.cpp:22:
In file included from ./include/mega.h:37:
In file included from ./include/mega/types.h:76:
In file included from ./include/mega/crypto/cryptopp.h:28:
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/ccm.h:50:11: warning: implicit conversion changes signedness: 'const int' to 'unsigned int' [-Wsign-conversion]
                {return m_digestSize;}
                 ~~~~~~ ^~~~~~~~~~~~
In file included from src/gfx/external.cpp:22:
In file included from ./include/mega.h:37:
In file included from ./include/mega/types.h:76:
In file included from ./include/mega/crypto/cryptopp.h:39:
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:138:6: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
        if (timeInSeconds)
        ~~  ^~~~~~~~~~~~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:141:29: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
        for (i=1; i<iterations || (timeInSeconds && (i%128!=0 || timer.ElapsedTimeAsDouble() < timeInSeconds)); i++)
                                   ^~~~~~~~~~~~~ ~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:285:7: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                if (timeInSeconds)
                ~~  ^~~~~~~~~~~~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:291:30: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                for (j=1; j<iterations || (timeInSeconds && (j%128!=0 || timer.ElapsedTimeAsDouble() < timeInSeconds)); j++)
                                           ^~~~~~~~~~~~~ ~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:297:7: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                if (timeInSeconds)
                ~~  ^~~~~~~~~~~~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:441:7: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                if (timeInSeconds)
                ~~  ^~~~~~~~~~~~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:447:30: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                for (i=1; i<iterations || (timeInSeconds && (i%128!=0 || timer.ElapsedTimeAsDouble() < timeInSeconds)); i++)
                                           ^~~~~~~~~~~~~ ~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:450:7: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                if (timeInSeconds)
                ~~  ^~~~~~~~~~~~~
In file included from src/gfx/external.cpp:22:
In file included from ./include/mega.h:52:
In file included from ./include/mega/db.h:26:
./include/mega/logging.h:605:41: warning: implicit conversion changes signedness: 'size_t' (aka 'unsigned long') to 'std::streamsize' (aka 'long') [-Wsign-conversion]
        ostr.write(obj.constChar(), obj.size());
             ~~~~~                  ~~~~^~~~~~
In file included from src/gfx/external.cpp:22:
In file included from ./include/mega.h:54:
In file included from ./include/mega/pubkeyaction.h:25:
In file included from ./include/mega/megaclient.h:43:
./include/mega/setandelement.h:173:63: warning: implicit conversion changes signedness: 'int' to 'const uint64_t' (aka 'const unsigned long long') [-Wsign-conversion]
        void setChanged(int changeType) { if (validChangeType(changeType, CH_EL_SIZE)) mChanges[changeType] = 1; }
                                              ~~~~~~~~~~~~~~~ ^~~~~~~~~~
./include/mega/setandelement.h:173:97: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        void setChanged(int changeType) { if (validChangeType(changeType, CH_EL_SIZE)) mChanges[changeType] = 1; }
                                                                                       ~~~~~~~~ ^~~~~~~~~~
./include/mega/setandelement.h:279:63: warning: implicit conversion changes signedness: 'int' to 'const uint64_t' (aka 'const unsigned long long') [-Wsign-conversion]
        void setChanged(int changeType) { if (validChangeType(changeType, CH_SIZE)) mChanges[changeType] = 1; }
                                              ~~~~~~~~~~~~~~~ ^~~~~~~~~~
./include/mega/setandelement.h:279:94: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        void setChanged(int changeType) { if (validChangeType(changeType, CH_SIZE)) mChanges[changeType] = 1; }
                                                                                    ~~~~~~~~ ^~~~~~~~~~
In file included from src/gfx/external.cpp:22:
In file included from ./include/mega.h:91:
./include/mega/db/sqlite.h:144:10: warning: 'mega::SqliteAccountState::put' hides overloaded virtual function [-Woverloaded-virtual]
    bool put(Node* node) override;
         ^
./include/mega/db/sqlite.h:53:10: note: hidden overloaded virtual function 'mega::SqliteDbTable::put' declared here: different number of parameters (3 vs 1)
    bool put(uint32_t, char*, unsigned) override;
         ^
src/gfx/external.cpp:94:21: warning: implicit conversion changes signedness: 'int' to 'std::basic_string<char>::size_type' (aka 'unsigned long') [-Wsign-conversion]
    jpegout->resize(size);
             ~~~~~~ ^~~~
17 warnings generated.
  CXX      src/libmega_la-pendingcontactrequest.lo
In file included from src/pendingcontactrequest.cpp:22:
In file included from ./include/mega/pendingcontactrequest.h:25:
In file included from ./include/mega/utils.h:30:
In file included from ./include/mega/types.h:76:
In file included from ./include/mega/crypto/cryptopp.h:28:
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/ccm.h:50:11: warning: implicit conversion changes signedness: 'const int' to 'unsigned int' [-Wsign-conversion]
                {return m_digestSize;}
                 ~~~~~~ ^~~~~~~~~~~~
In file included from src/pendingcontactrequest.cpp:22:
In file included from ./include/mega/pendingcontactrequest.h:25:
In file included from ./include/mega/utils.h:30:
In file included from ./include/mega/types.h:76:
In file included from ./include/mega/crypto/cryptopp.h:39:
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:138:6: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
        if (timeInSeconds)
        ~~  ^~~~~~~~~~~~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:141:29: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
        for (i=1; i<iterations || (timeInSeconds && (i%128!=0 || timer.ElapsedTimeAsDouble() < timeInSeconds)); i++)
                                   ^~~~~~~~~~~~~ ~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:285:7: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                if (timeInSeconds)
                ~~  ^~~~~~~~~~~~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:291:30: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                for (j=1; j<iterations || (timeInSeconds && (j%128!=0 || timer.ElapsedTimeAsDouble() < timeInSeconds)); j++)
                                           ^~~~~~~~~~~~~ ~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:297:7: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                if (timeInSeconds)
                ~~  ^~~~~~~~~~~~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:441:7: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                if (timeInSeconds)
                ~~  ^~~~~~~~~~~~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:447:30: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                for (i=1; i<iterations || (timeInSeconds && (i%128!=0 || timer.ElapsedTimeAsDouble() < timeInSeconds)); i++)
                                           ^~~~~~~~~~~~~ ~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:450:7: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                if (timeInSeconds)
                ~~  ^~~~~~~~~~~~~
In file included from src/pendingcontactrequest.cpp:23:
In file included from ./include/mega/megaclient.h:26:
In file included from ./include/mega/db.h:26:
./include/mega/logging.h:605:41: warning: implicit conversion changes signedness: 'size_t' (aka 'unsigned long') to 'std::streamsize' (aka 'long') [-Wsign-conversion]
        ostr.write(obj.constChar(), obj.size());
             ~~~~~                  ~~~~^~~~~~
In file included from src/pendingcontactrequest.cpp:23:
In file included from ./include/mega/megaclient.h:43:
./include/mega/setandelement.h:173:63: warning: implicit conversion changes signedness: 'int' to 'const uint64_t' (aka 'const unsigned long long') [-Wsign-conversion]
        void setChanged(int changeType) { if (validChangeType(changeType, CH_EL_SIZE)) mChanges[changeType] = 1; }
                                              ~~~~~~~~~~~~~~~ ^~~~~~~~~~
./include/mega/setandelement.h:173:97: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        void setChanged(int changeType) { if (validChangeType(changeType, CH_EL_SIZE)) mChanges[changeType] = 1; }
                                                                                       ~~~~~~~~ ^~~~~~~~~~
./include/mega/setandelement.h:279:63: warning: implicit conversion changes signedness: 'int' to 'const uint64_t' (aka 'const unsigned long long') [-Wsign-conversion]
        void setChanged(int changeType) { if (validChangeType(changeType, CH_SIZE)) mChanges[changeType] = 1; }
                                              ~~~~~~~~~~~~~~~ ^~~~~~~~~~
./include/mega/setandelement.h:279:94: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        void setChanged(int changeType) { if (validChangeType(changeType, CH_SIZE)) mChanges[changeType] = 1; }
                                                                                    ~~~~~~~~ ^~~~~~~~~~
src/pendingcontactrequest.cpp:121:9: warning: implicit conversion changes signedness: 'const char' to 'unsigned char' [-Wsign-conversion]
    l = *ptr++;
      ~ ^~~~~~
src/pendingcontactrequest.cpp:130:9: warning: implicit conversion changes signedness: 'const char' to 'unsigned char' [-Wsign-conversion]
    l = *ptr++;
      ~ ^~~~~~
src/pendingcontactrequest.cpp:145:9: warning: implicit conversion changes signedness: 'const char' to 'unsigned char' [-Wsign-conversion]
    l = *ptr++;
      ~ ^~~~~~
17 warnings generated.
  CXX      src/libmega_la-textchat.lo
In file included from src/textchat.cpp:22:
In file included from ./include/mega/textchat.h:25:
In file included from ./include/mega/types.h:76:
In file included from ./include/mega/crypto/cryptopp.h:28:
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/ccm.h:50:11: warning: implicit conversion changes signedness: 'const int' to 'unsigned int' [-Wsign-conversion]
                {return m_digestSize;}
                 ~~~~~~ ^~~~~~~~~~~~
In file included from src/textchat.cpp:22:
In file included from ./include/mega/textchat.h:25:
In file included from ./include/mega/types.h:76:
In file included from ./include/mega/crypto/cryptopp.h:39:
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:138:6: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
        if (timeInSeconds)
        ~~  ^~~~~~~~~~~~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:141:29: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
        for (i=1; i<iterations || (timeInSeconds && (i%128!=0 || timer.ElapsedTimeAsDouble() < timeInSeconds)); i++)
                                   ^~~~~~~~~~~~~ ~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:285:7: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                if (timeInSeconds)
                ~~  ^~~~~~~~~~~~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:291:30: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                for (j=1; j<iterations || (timeInSeconds && (j%128!=0 || timer.ElapsedTimeAsDouble() < timeInSeconds)); j++)
                                           ^~~~~~~~~~~~~ ~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:297:7: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                if (timeInSeconds)
                ~~  ^~~~~~~~~~~~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:441:7: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                if (timeInSeconds)
                ~~  ^~~~~~~~~~~~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:447:30: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                for (i=1; i<iterations || (timeInSeconds && (i%128!=0 || timer.ElapsedTimeAsDouble() < timeInSeconds)); i++)
                                           ^~~~~~~~~~~~~ ~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:450:7: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                if (timeInSeconds)
                ~~  ^~~~~~~~~~~~~
In file included from src/textchat.cpp:24:
In file included from ./include/mega/megaclient.h:26:
In file included from ./include/mega/db.h:26:
./include/mega/logging.h:605:41: warning: implicit conversion changes signedness: 'size_t' (aka 'unsigned long') to 'std::streamsize' (aka 'long') [-Wsign-conversion]
        ostr.write(obj.constChar(), obj.size());
             ~~~~~                  ~~~~^~~~~~
In file included from src/textchat.cpp:24:
In file included from ./include/mega/megaclient.h:43:
./include/mega/setandelement.h:173:63: warning: implicit conversion changes signedness: 'int' to 'const uint64_t' (aka 'const unsigned long long') [-Wsign-conversion]
        void setChanged(int changeType) { if (validChangeType(changeType, CH_EL_SIZE)) mChanges[changeType] = 1; }
                                              ~~~~~~~~~~~~~~~ ^~~~~~~~~~
./include/mega/setandelement.h:173:97: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        void setChanged(int changeType) { if (validChangeType(changeType, CH_EL_SIZE)) mChanges[changeType] = 1; }
                                                                                       ~~~~~~~~ ^~~~~~~~~~
./include/mega/setandelement.h:279:63: warning: implicit conversion changes signedness: 'int' to 'const uint64_t' (aka 'const unsigned long long') [-Wsign-conversion]
        void setChanged(int changeType) { if (validChangeType(changeType, CH_SIZE)) mChanges[changeType] = 1; }
                                              ~~~~~~~~~~~~~~~ ^~~~~~~~~~
./include/mega/setandelement.h:279:94: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        void setChanged(int changeType) { if (validChangeType(changeType, CH_SIZE)) mChanges[changeType] = 1; }
                                                                                    ~~~~~~~~ ^~~~~~~~~~
14 warnings generated.
  CXX      src/libmega_la-mega_zxcvbn.lo
src/mega_zxcvbn.cpp:221:62: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        if (strncmp((const char *)Passwd, (const char *)Rpt, Len) == 0)
            ~~~~~~~                                          ^~~
src/mega_zxcvbn.cpp:509:27: warning: implicit conversion changes signedness: 'const char' to 'uint8_t' (aka 'unsigned char') [-Wsign-conversion]
                *List++ = CharSet[k];
                        ~ ^~~~~~~~~~
src/mega_zxcvbn.cpp:527:22: warning: implicit conversion changes signedness: 'long' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        size_t i = p - L33TChr;
               ~   ~~^~~~~~~~~
src/mega_zxcvbn.cpp:673:69: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
                    const uint8_t *r = CharBinSearch(*q, PossChars, NumPossChrs, 1);
                                       ~~~~~~~~~~~~~                ^~~~~~~~~~~
src/mega_zxcvbn.cpp:698:41: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
        q = CharBinSearch(c, PossChars, NumPossChrs, 1);
            ~~~~~~~~~~~~~               ^~~~~~~~~~~
src/mega_zxcvbn.cpp:737:27: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion]
            Extra->Rank = v;
                        ~ ^
src/mega_zxcvbn.cpp:1088:62: warning: implicit conversion changes signedness: 'const int' to 'unsigned int' [-Wsign-conversion]
            Key = CharBinSearch(CurChar, Keyb->Shifts, Keyb->NumShift, 2);
                  ~~~~~~~~~~~~~                        ~~~~~~^~~~~~~~
src/mega_zxcvbn.cpp:1100:76: warning: implicit conversion changes signedness: 'const int' to 'unsigned int' [-Wsign-conversion]
            Key = CharBinSearch(PrevChar, Keyb->Keys, Keyb->NumKeys, Keyb->NumNear);
                  ~~~~~~~~~~~~~                                      ~~~~~~^~~~~~~
src/mega_zxcvbn.cpp:1100:61: warning: implicit conversion changes signedness: 'const int' to 'unsigned int' [-Wsign-conversion]
            Key = CharBinSearch(PrevChar, Keyb->Keys, Keyb->NumKeys, Keyb->NumNear);
                  ~~~~~~~~~~~~~                       ~~~~~~^~~~~~~
src/mega_zxcvbn.cpp:1396:66: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
            if (strncmp((const char *)Passwd, (const char *)Rpt, Len) == 0)
                ~~~~~~~                                          ^~~
src/mega_zxcvbn.cpp:1573:41: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
    Node_t *Nodes = MallocFn(Node_t, Len+1);
                    ~~~~~~~~~~~~~~~~~~~~^~~
./include/mega/mega_zxcvbn.h:46:32: note: expanded from macro 'MallocFn'
#define MallocFn(T,N)   (new T[N])
                         ~~~   ^
src/mega_zxcvbn.cpp:1574:26: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
    memset(Nodes, 0, (Len+1) * sizeof *Nodes);
                      ~~~^~  ~
src/mega_zxcvbn.cpp:1595:35: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
    RevPwd = MallocFn(uint8_t, Len+1);
             ~~~~~~~~~~~~~~~~~~~~~^~~
./include/mega/mega_zxcvbn.h:46:32: note: expanded from macro 'MallocFn'
#define MallocFn(T,N)   (new T[N])
                         ~~~   ^
src/mega_zxcvbn.cpp:1597:21: warning: implicit conversion changes signedness: 'const char' to 'uint8_t' (aka 'unsigned char') [-Wsign-conversion]
        RevPwd[j] = Pwd[i];
                  ~ ^~~~~~
src/mega_zxcvbn.cpp:1619:26: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
    memset(RevPwd, 0, Len+1);
    ~~~~~~            ~~~^~
15 warnings generated.
  CXX      src/libmega_la-megaapi_impl.lo
In file included from src/megaapi_impl.cpp:29:
In file included from ./include/megaapi_impl.h:28:
./include/mega.h:33:32: warning: unknown warning group '-Wunqualified-std-cast-call', ignored [-Wunknown-warning-option]
#pragma GCC diagnostic ignored "-Wunqualified-std-cast-call"
                               ^
In file included from src/megaapi_impl.cpp:29:
In file included from ./include/megaapi_impl.h:28:
In file included from ./include/mega.h:37:
In file included from ./include/mega/types.h:76:
In file included from ./include/mega/crypto/cryptopp.h:28:
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/ccm.h:50:11: warning: implicit conversion changes signedness: 'const int' to 'unsigned int' [-Wsign-conversion]
                {return m_digestSize;}
                 ~~~~~~ ^~~~~~~~~~~~
In file included from src/megaapi_impl.cpp:29:
In file included from ./include/megaapi_impl.h:28:
In file included from ./include/mega.h:37:
In file included from ./include/mega/types.h:76:
In file included from ./include/mega/crypto/cryptopp.h:39:
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:138:6: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
        if (timeInSeconds)
        ~~  ^~~~~~~~~~~~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:141:29: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
        for (i=1; i<iterations || (timeInSeconds && (i%128!=0 || timer.ElapsedTimeAsDouble() < timeInSeconds)); i++)
                                   ^~~~~~~~~~~~~ ~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:285:7: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                if (timeInSeconds)
                ~~  ^~~~~~~~~~~~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:291:30: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                for (j=1; j<iterations || (timeInSeconds && (j%128!=0 || timer.ElapsedTimeAsDouble() < timeInSeconds)); j++)
                                           ^~~~~~~~~~~~~ ~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:297:7: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                if (timeInSeconds)
                ~~  ^~~~~~~~~~~~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:441:7: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                if (timeInSeconds)
                ~~  ^~~~~~~~~~~~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:447:30: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                for (i=1; i<iterations || (timeInSeconds && (i%128!=0 || timer.ElapsedTimeAsDouble() < timeInSeconds)); i++)
                                           ^~~~~~~~~~~~~ ~~
/Users/pbulk/build/net/megacmd/work/.buildlink/include/cryptopp/pwdbased.h:450:7: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion]
                if (timeInSeconds)
                ~~  ^~~~~~~~~~~~~
In file included from src/megaapi_impl.cpp:29:
In file included from ./include/megaapi_impl.h:28:
In file included from ./include/mega.h:52:
In file included from ./include/mega/db.h:26:
./include/mega/logging.h:605:41: warning: implicit conversion changes signedness: 'size_t' (aka 'unsigned long') to 'std::streamsize' (aka 'long') [-Wsign-conversion]
        ostr.write(obj.constChar(), obj.size());
             ~~~~~                  ~~~~^~~~~~
In file included from src/megaapi_impl.cpp:29:
In file included from ./include/megaapi_impl.h:28:
In file included from ./include/mega.h:54:
In file included from ./include/mega/pubkeyaction.h:25:
In file included from ./include/mega/megaclient.h:43:
./include/mega/setandelement.h:173:63: warning: implicit conversion changes signedness: 'int' to 'const uint64_t' (aka 'const unsigned long long') [-Wsign-conversion]
        void setChanged(int changeType) { if (validChangeType(changeType, CH_EL_SIZE)) mChanges[changeType] = 1; }
                                              ~~~~~~~~~~~~~~~ ^~~~~~~~~~
./include/mega/setandelement.h:173:97: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        void setChanged(int changeType) { if (validChangeType(changeType, CH_EL_SIZE)) mChanges[changeType] = 1; }
                                                                                       ~~~~~~~~ ^~~~~~~~~~
./include/mega/setandelement.h:279:63: warning: implicit conversion changes signedness: 'int' to 'const uint64_t' (aka 'const unsigned long long') [-Wsign-conversion]
        void setChanged(int changeType) { if (validChangeType(changeType, CH_SIZE)) mChanges[changeType] = 1; }
                                              ~~~~~~~~~~~~~~~ ^~~~~~~~~~
./include/mega/setandelement.h:279:94: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
        void setChanged(int changeType) { if (validChangeType(changeType, CH_SIZE)) mChanges[changeType] = 1; }
                                                                                    ~~~~~~~~ ^~~~~~~~~~
In file included from src/megaapi_impl.cpp:29:
In file included from ./include/megaapi_impl.h:28:
In file included from ./include/mega.h:91:
./include/mega/db/sqlite.h:144:10: warning: 'mega::SqliteAccountState::put' hides overloaded virtual function [-Woverloaded-virtual]
    bool put(Node* node) override;
         ^
./include/mega/db/sqlite.h:53:10: note: hidden overloaded virtual function 'mega::SqliteDbTable::put' declared here: different number of parameters (3 vs 1)
    bool put(uint32_t, char*, unsigned) override;
         ^
In file included from src/megaapi_impl.cpp:29:
./include/megaapi_impl.h:99:45: error: expected class name
        class MegaFileSystemAccess : public MacFileSystemAccess {};
                                            ^
./include/megaapi_impl.h:1753:21: warning: 'getMostRecentUsage' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
    virtual int64_t getMostRecentUsage() const;
                    ^
./include/megaapi.h:21954:21: note: overridden virtual function is here
    virtual int64_t getMostRecentUsage() const;
                    ^
In file included from src/megaapi_impl.cpp:29:
./include/megaapi_impl.h:1754:19: warning: 'getUserAgent' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
    virtual char *getUserAgent() const;
                  ^
./include/megaapi.h:21963:19: note: overridden virtual function is here
    virtual char *getUserAgent() const;
                  ^
In file included from src/megaapi_impl.cpp:29:
./include/megaapi_impl.h:1755:19: warning: 'getIP' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
    virtual char *getIP() const;
                  ^
./include/megaapi.h:21972:19: note: overridden virtual function is here
    virtual char *getIP() const;
                  ^
In file included from src/megaapi_impl.cpp:29:
./include/megaapi_impl.h:1756:19: warning: 'getCountry' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
    virtual char *getCountry() const;
                  ^
./include/megaapi.h:21981:19: note: overridden virtual function is here
    virtual char *getCountry() const;
                  ^
In file included from src/megaapi_impl.cpp:29:
./include/megaapi_impl.h:1757:18: warning: 'isCurrent' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
    virtual bool isCurrent() const;
                 ^
./include/megaapi.h:21987:18: note: overridden virtual function is here
    virtual bool isCurrent() const;
                 ^
In file included from src/megaapi_impl.cpp:29:
./include/megaapi_impl.h:1758:18: warning: 'isAlive' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
    virtual bool isAlive() const;
                 ^
./include/megaapi.h:21993:18: note: overridden virtual function is here
    virtual bool isAlive() const;
                 ^
In file included from src/megaapi_impl.cpp:29:
./include/megaapi_impl.h:1759:24: warning: 'getHandle' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
    virtual MegaHandle getHandle() const;
                       ^
./include/megaapi.h:21999:24: note: overridden virtual function is here
    virtual MegaHandle getHandle() const;
                       ^
src/megaapi_impl.cpp:721:36: warning: implicit conversion changes signedness: 'uint32_t' (aka 'unsigned int') to 'int' [-Wsign-conversion]
            return mediaProperties.playtime;
            ~~~~~~ ~~~~~~~~~~~~~~~~^~~~~~~~
src/megaapi_impl.cpp:755:41: warning: implicit conversion changes signedness: 'uint32_t' (aka 'unsigned int') to 'int' [-Wsign-conversion]
                width = mediaProperties.width;
                      ~ ~~~~~~~~~~~~~~~~^~~~~
src/megaapi_impl.cpp:775:42: warning: implicit conversion changes signedness: 'uint32_t' (aka 'unsigned int') to 'int' [-Wsign-conversion]
                height = mediaProperties.height;
                       ~ ~~~~~~~~~~~~~~~~^~~~~~
src/megaapi_impl.cpp:815:48: warning: implicit conversion changes signedness: 'uint32_t' (aka 'unsigned int') to 'int' [-Wsign-conversion]
                videocodecid = mediaProperties.videocodecid;
                             ~ ~~~~~~~~~~~~~~~~^~~~~~~~~~~~
src/megaapi_impl.cpp:1024:43: warning: implicit conversion changes signedness: 'const m_off_t' (aka 'const long long') to 'uint64_t' (aka 'unsigned long long') [-Wsign-conversion]
    int l = Serialize64::serialize(bsize, nodeSize);
            ~~~~~~~~~~~                   ^~~~~~~~
src/megaapi_impl.cpp:1025:47: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
    unique_ptr<char[]> buf(new char[l * 4 / 3 + 4]);
                           ~~~      ~~~~~~~~~~^~~
src/megaapi_impl.cpp:1044:37: warning: implicit conversion changes signedness: 'int' to 'const size_t' (aka 'const unsigned long') [-Wsign-conversion]
    const size_t sizelen = appFp[0] - 'A';
                 ~~~~~~~   ~~~~~~~~~^~~~~
src/megaapi_impl.cpp:1056:47: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
        std::unique_ptr<byte[]> buf (new byte[len]);
                                     ~~~      ^~~
src/megaapi_impl.cpp:1192:53: error: no member named 'newfileaccess' in 'mega::MegaFileSystemAccess'
    std::unique_ptr<FileAccess> fain(api->fsAccess->newfileaccess());
                                     ~~~~~~~~~~~~~~~^
src/megaapi_impl.cpp:1225:66: error: no member named 'newfileaccess' in 'mega::MegaFileSystemAccess'
                std::unique_ptr<FileAccess> faout(api->fsAccess->newfileaccess());
                                                  ~~~~~~~~~~~~~~~^
src/megaapi_impl.cpp:2037:48: warning: implicit conversion changes signedness: 'std::vector<unsigned long long>::size_type' (aka 'unsigned long') to 'std::vector<long long>::value_type' (aka 'long long') [-Wsign-conversion]
        numbers.push_back(p->folderNodeHandles.size());
                ~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~^~~~~~
src/megaapi_impl.cpp:2038:46: warning: implicit conversion changes signedness: 'std::vector<unsigned long long>::size_type' (aka 'unsigned long') to 'std::vector<long long>::value_type' (aka 'long long') [-Wsign-conversion]
        numbers.push_back(p->fileNodeHandles.size());
                ~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~^~~~~~
src/megaapi_impl.cpp:2049:42: warning: implicit conversion changes signedness: 'std::vector<unsigned long long>::size_type' (aka 'unsigned long') to 'std::vector<long long>::value_type' (aka 'long long') [-Wsign-conversion]
        numbers.push_back(p->nodeHandles.size());
                ~~~~~~~~~ ~~~~~~~~~~~~~~~^~~~~~
src/megaapi_impl.cpp:2058:42: warning: implicit conversion changes signedness: 'std::vector<unsigned long long>::size_type' (aka 'unsigned long') to 'std::vector<long long>::value_type' (aka 'long long') [-Wsign-conversion]
        numbers.push_back(p->nodeHandles.size());
                ~~~~~~~~~ ~~~~~~~~~~~~~~~^~~~~~
src/megaapi_impl.cpp:2956:21: warning: implicit conversion changes signedness: 'long' to 'std::basic_string<char>::size_type' (aka 'unsigned long') [-Wsign-conversion]
    d->erase(0, ptr - d->data());
       ~~~~~    ~~~~^~~~~~~~~~~
src/megaapi_impl.cpp:4108:62: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
                                months, amount, amountMonth, localPrice,
                                                             ^~~~~~~~~~
src/megaapi_impl.cpp:4499:76: warning: implicit conversion changes signedness: 'int' to 'std::vector<mega::MegaBannerPrivate>::size_type' (aka 'unsigned long') [-Wsign-conversion]
    return (i >= 0 && static_cast<size_t>(i) < mVector.size()) ? &(mVector[i]) : nullptr;
                                                                   ~~~~~~~ ^
src/megaapi_impl.cpp:4695:18: warning: implicit conversion changes signedness: 'int' to 'std::vector<std::string>::size_type' (aka 'unsigned long') [-Wsign-conversion]
    return mList[i].c_str();
           ~~~~~ ^
src/megaapi_impl.cpp:4802:23: warning: implicit conversion changes signedness: 'int' to 'std::vector<std::unique_ptr<const mega::MegaStringList>>::size_type' (aka 'unsigned long') [-Wsign-conversion]
        return mTable[i].get();
               ~~~~~~ ^
src/megaapi_impl.cpp:4824:26: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
    list = new MegaNode*[s];
           ~~~           ^
src/megaapi_impl.cpp:4826:47: warning: implicit conversion changes signedness: 'int' to 'std::vector<mega::Node *>::size_type' (aka 'unsigned long') [-Wsign-conversion]
        list[i] = MegaNodePrivate::fromNode(v[i]);
                                            ~ ^
src/megaapi_impl.cpp:4834:26: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
    list = new MegaNode*[size];
           ~~~           ^~~~
src/megaapi_impl.cpp:4848:26: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
    list = new MegaNode*[s];
           ~~~           ^
src/megaapi_impl.cpp:4895:26: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
    list = new MegaNode*[s];
           ~~~           ^
src/megaapi_impl.cpp:4913:26: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
    list = new MegaNode*[s];
           ~~~           ^
src/megaapi_impl.cpp:4941:26: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
    list = new MegaUser*[size];
           ~~~           ^~~~
src/megaapi_impl.cpp:4954:26: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
    list = new MegaUser*[s];
           ~~~           ^
src/megaapi_impl.cpp:5002:31: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
    list = new MegaUserAlert*[size];
           ~~~                ^~~~
src/megaapi_impl.cpp:5012:35: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
    list = s ? new MegaUserAlert*[s] : NULL;
               ~~~                ^
src/megaapi_impl.cpp:5129:47: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
    list = new MegaRecentActionBucketPrivate*[s];
           ~~~                                ^
src/megaapi_impl.cpp:5132:55: warning: implicit conversion changes signedness: 'int' to 'std::vector<mega::recentaction>::size_type' (aka 'unsigned long') [-Wsign-conversion]
        list[i] = new MegaRecentActionBucketPrivate(v[i], mc);
                                                    ~ ^
src/megaapi_impl.cpp:5139:51: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
    list = s ? new MegaRecentActionBucketPrivate*[s] : NULL;
               ~~~                                ^
src/megaapi_impl.cpp:5185:27: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
    list = new MegaShare*[size];
           ~~~            ^~~~
src/megaapi_impl.cpp:5230:30: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
    list = new MegaTransfer*[size];
           ~~~               ^~~~
src/megaapi_impl.cpp:5273:36: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
    list = new MegaContactRequest*[size];
           ~~~                     ^~~~
src/megaapi_impl.cpp:5315:36: warning: implicit conversion changes signedness: 'int' to 'unsigned long' [-Wsign-conversion]
    list = new MegaContactRequest*[s];
           ~~~                     ^
src/megaapi_impl.cpp:5397:21: warning: implicit conversion changes signedness: 'long' to 'std::basic_string<char>::size_type' (aka 'unsigned long') [-Wsign-conversion]
    d->erase(0, ptr - d->data());
       ~~~~~    ~~~~^~~~~~~~~~~
src/megaapi_impl.cpp:6302:17: warning: implicit conversion changes signedness: 'int' to 'std::basic_string<char>::size_type' (aka 'unsigned long') [-Wsign-conversion]
    data.resize(Base64::atob(base64string, (byte*)data.data(), int(data.size())));
         ~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/megaapi_impl.cpp:6347:21: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion]
    RAND_seed(data, size);
    ~~~~~~~~~       ^~~~
src/megaapi_impl.cpp:7944:38: warning: operand of ? changes signedness: 'const mega::MegaHandle' (aka 'const unsigned long long') to 'long long' [-Wsign-conversion]
    request->setNumber(srcFilePath ? INVALID_HANDLE : attributehandle);
             ~~~~~~~~~               ^~~~~~~~~~~~~~
src/megaapi_impl.cpp:7944:55: warning: operand of ? changes signedness: 'mega::MegaHandle' (aka 'unsigned long long') to 'long long' [-Wsign-conversion]
    request->setNumber(srcFilePath ? INVALID_HANDLE : attributehandle);
             ~~~~~~~~~                                ^~~~~~~~~~~~~~~
src/megaapi_impl.cpp:7964:24: warning: implicit conversion changes signedness: 'const mega::MegaHandle' (aka 'const unsigned long long') to 'long long' [-Wsign-conversion]
    request->setNumber(INVALID_HANDLE);
             ~~~~~~~~~ ^~~~~~~~~~~~~~
src/megaapi_impl.cpp:8753:28: error: no member named 'getlocalfstype' in 'mega::MegaFileSystemAccess'
        fsType = fsAccess->getlocalfstype(LocalPath::fromAbsolutePath(localPath));
                 ~~~~~~~~~~^
src/megaapi_impl.cpp:8798:42: error: no member named 'newfileaccess' in 'mega::MegaFileSystemAccess'
        auto fa = fingerprintingFsAccess.newfileaccess();
                  ~~~~~~~~~~~~~~~~~~~~~~ ^
src/megaapi_impl.cpp:8855:39: error: no member named 'getlocalfstype' in 'mega::MegaFileSystemAccess'
    FileSystemType fsType = fsAccess->getlocalfstype(LocalPath::fromAbsolutePath(localPath));
                            ~~~~~~~~~~^
src/megaapi_impl.cpp:9095:59: error: no viable conversion from 'mega::MegaFileSystemAccess' to 'const mega::FileSystemAccess'
                string name = localpath.leafName().toName(*fsAccess);
                                                          ^~~~~~~~~
./include/mega/filesystem.h:880:28: note: candidate constructor not viable: no known conversion from 'mega::MegaFileSystemAccess' to 'const mega::FileSystemAccess &' for 1st argument
    MEGA_DISABLE_COPY_MOVE(FileSystemAccess);
                           ^
./include/mega/types.h:1248:23: note: expanded from macro 'MEGA_DISABLE_COPY_MOVE'
    MEGA_DISABLE_COPY(class_name) \
                      ^
./include/mega/types.h:1240:5: note: expanded from macro 'MEGA_DISABLE_COPY'
    class_name(const class_name&) = delete; \
    ^
./include/mega/filesystem.h:880:28: note: candidate constructor not viable: no known conversion from 'mega::MegaFileSystemAccess' to 'mega::FileSystemAccess &&' for 1st argument
./include/mega/types.h:1249:23: note: expanded from macro 'MEGA_DISABLE_COPY_MOVE'
    MEGA_DISABLE_MOVE(class_name)
                      ^
./include/mega/types.h:1244:5: note: expanded from macro 'MEGA_DISABLE_MOVE'
    class_name(class_name&&) = delete; \
    ^
./include/mega/filesystem.h:226:48: note: passing argument to parameter 'fsaccess' here
    std::string toName(const FileSystemAccess& fsaccess) const;
                                               ^
src/megaapi_impl.cpp:9098:41: error: no member named 'newfileaccess' in 'mega::MegaFileSystemAccess'
                    auto fa = fsAccess->newfileaccess();
                              ~~~~~~~~~~^
src/megaapi_impl.cpp:9347:41: error: no viable conversion from 'mega::MegaFileSystemAccess' to 'const mega::FileSystemAccess'
                auto name = temp.toName(*fsAccess);
                                        ^~~~~~~~~
./include/mega/filesystem.h:880:28: note: candidate constructor not viable: no known conversion from 'mega::MegaFileSystemAccess' to 'const mega::FileSystemAccess &' for 1st argument
    MEGA_DISABLE_COPY_MOVE(FileSystemAccess);
                           ^
./include/mega/types.h:1248:23: note: expanded from macro 'MEGA_DISABLE_COPY_MOVE'
    MEGA_DISABLE_COPY(class_name) \
                      ^
./include/mega/types.h:1240:5: note: expanded from macro 'MEGA_DISABLE_COPY'
    class_name(const class_name&) = delete; \
    ^
./include/mega/filesystem.h:880:28: note: candidate constructor not viable: no known conversion from 'mega::MegaFileSystemAccess' to 'mega::FileSystemAccess &&' for 1st argument
./include/mega/types.h:1249:23: note: expanded from macro 'MEGA_DISABLE_COPY_MOVE'
    MEGA_DISABLE_MOVE(class_name)
                      ^
./include/mega/types.h:1244:5: note: expanded from macro 'MEGA_DISABLE_MOVE'
    class_name(class_name&&) = delete; \
    ^
./include/mega/filesystem.h:226:48: note: passing argument to parameter 'fsaccess' here
    std::string toName(const FileSystemAccess& fsaccess) const;
                                               ^
src/megaapi_impl.cpp:9569:15: error: no member named 'setdefaultfilepermissions' in 'mega::MegaFileSystemAccess'
    fsAccess->setdefaultfilepermissions(permissions);
    ~~~~~~~~~~^
src/megaapi_impl.cpp:9575:22: error: no member named 'getdefaultfilepermissions' in 'mega::MegaFileSystemAccess'
    return fsAccess->getdefaultfilepermissions();
           ~~~~~~~~~~^
src/megaapi_impl.cpp:9581:15: error: no member named 'setdefaultfolderpermissions' in 'mega::MegaFileSystemAccess'
    fsAccess->setdefaultfolderpermissions(permissions);
    ~~~~~~~~~~^
src/megaapi_impl.cpp:9587:22: error: no member named 'getdefaultfolderpermissions' in 'mega::MegaFileSystemAccess'
    return fsAccess->getdefaultfolderpermissions();
           ~~~~~~~~~~^
src/megaapi_impl.cpp:11402:20: warning: implicit conversion changes signedness: 'int' to 'std::basic_string<char>::size_type' (aka 'unsigned long') [-Wsign-conversion]
    nodekey.resize(Base64::atob(key, (byte *)nodekey.data(), int(nodekey.size())));
            ~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/megaapi_impl.cpp:11516:15: error: no member named 'osversion' in 'mega::MegaFileSystemAccess'
    fsAccess->osversion(&version, false);
    ~~~~~~~~~~^
src/megaapi_impl.cpp:11872:41: warning: implicit conversion changes signedness: 'long long' to 'uint64_t' (aka 'unsigned long long') [-Wsign-conversion]
    uint64_t usedStorageBytes = details.getStorageUsed();
             ~~~~~~~~~~~~~~~~   ~~~~~~~~^~~~~~~~~~~~~~~~
src/megaapi_impl.cpp:11923:32: warning: implicit conversion changes signedness: 'const char' to 'unsigned char' [-Wsign-conversion]
            unsigned char c1 = string[i + j];
                          ~~   ^~~~~~~~~~~~~
src/megaapi_impl.cpp:11927:32: warning: implicit conversion changes signedness: 'const char' to 'unsigned char' [-Wsign-conversion]
            unsigned char c2 = substring[j];
                          ~~   ^~~~~~~~~~~~
src/megaapi_impl.cpp:12346:25: error: no member named 'newfileaccess' in 'mega::MegaFileSystemAccess'
    auto fa = fsAccess->newfileaccess();
              ~~~~~~~~~~^
src/megaapi_impl.cpp:12506:25: error: no member named 'newfileaccess' in 'mega::MegaFileSystemAccess'
    auto fa = fsAccess->newfileaccess();
              ~~~~~~~~~~^
src/megaapi_impl.cpp:12517:19: warning: implicit conversion changes signedness: 'int' to 'std::basic_string<char>::size_type' (aka 'unsigned long') [-Wsign-conversion]
    result.resize(Base64::btoa((const byte *)fp.crc.data(), sizeof fp.crc, (char*)result.c_str()));
           ~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/megaapi_impl.cpp:12531:19: warning: implicit conversion changes signedness: 'int' to 'std::basic_string<char>::size_type' (aka 'unsigned long') [-Wsign-conversion]
    result.resize(Base64::btoa((const byte *)fp->crc.data(), sizeof fp->crc,(char*)result.c_str()));
           ~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/megaapi_impl.cpp:12548:19: warning: implicit conversion changes signedness: 'int' to 'std::basic_string<char>::size_type' (aka 'unsigned long') [-Wsign-conversion]
    result.resize(Base64::btoa((const byte *)node->crc.data(), sizeof node->crc.data(), (char*)result.c_str()));
           ~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/megaapi_impl.cpp:13143:37: warning: implicit conversion changes signedness: 'int' to 'std::basic_string<char>::size_type' (aka 'unsigned long') [-Wsign-conversion]
                result.append(data, dataSize);
                       ~~~~~~       ^~~~~~~~
src/megaapi_impl.cpp:13516:105: warning: implicit conversion changes signedness: 'uint32_t' (aka 'unsigned int') to 'int' [-Wsign-conversion]
                MegaFolderInfoPrivate *folderInfo = new MegaFolderInfoPrivate(numFiles, numFolders - 1, numVersions, currentSize, versionsSize);
                                                        ~~~~~~~~~~~~~~~~~~~~~                           ^~~~~~~~~~~
src/megaapi_impl.cpp:13516:100: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion]
                MegaFolderInfoPrivate *folderInfo = new MegaFolderInfoPrivate(numFiles, numFolders - 1, numVersions, currentSize, versionsSize);
                                                        ~~~~~~~~~~~~~~~~~~~~~           ~~~~~~~~~~~^~~
src/megaapi_impl.cpp:13516:79: warning: implicit conversion changes signedness: 'uint32_t' (aka 'unsigned int') to 'int' [-Wsign-conversion]
                MegaFolderInfoPrivate *folderInfo = new MegaFolderInfoPrivate(numFiles, numFolders - 1, numVersions, currentSize, versionsSize);
                                                        ~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~
src/megaapi_impl.cpp:13610:38: error: no member named 'newfileaccess' in 'mega::MegaFileSystemAccess'
            mSyncable_fa = fsAccess->newfileaccess();
                           ~~~~~~~~~~^
src/megaapi_impl.cpp:13925:81: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
                client->putua(ATTR_FIRSTNAME, (const byte*) request->getName(), int(strlen(request->getName())), -1,
                        ~~~~~                                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/megaapi_impl.cpp:13931:80: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
                client->putua(ATTR_LASTNAME, (const byte*) request->getText(), int(strlen(request->getText())), -1, UNDEF, 0, 0, [](Error){});
                        ~~~~~                                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/megaapi_impl.cpp:14171:19: error: no member named 'unlinklocal' in 'mega::MegaFileSystemAccess'
        fsAccess->unlinklocal(localPath);
        ~~~~~~~~~~^
src/megaapi_impl.cpp:14233:102: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion]
    request->addProduct(type, product, prolevel, gbstorage, gbtransfer, months, amount, amountMonth, localPrice, description, iosid, androidid, std::move(bizPlan));
             ~~~~~~~~~~                                                                              ^~~~~~~~~~
src/megaapi_impl.cpp:14233:89: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion]
    request->addProduct(type, product, prolevel, gbstorage, gbtransfer, months, amount, amountMonth, localPrice, description, iosid, androidid, std::move(bizPlan));
             ~~~~~~~~~~                                                                 ^~~~~~~~~~~
src/megaapi_impl.cpp:14233:81: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion]
    request->addProduct(type, product, prolevel, gbstorage, gbtransfer, months, amount, amountMonth, localPrice, description, iosid, androidid, std::move(bizPlan));
             ~~~~~~~~~~                                                         ^~~~~~
src/megaapi_impl.cpp:14233:73: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion]
    request->addProduct(type, product, prolevel, gbstorage, gbtransfer, months, amount, amountMonth, localPrice, description, iosid, androidid, std::move(bizPlan));
             ~~~~~~~~~~                                                 ^~~~~~
src/megaapi_impl.cpp:14233:40: warning: implicit conversion changes signedness: 'unsigned int' to 'int' [-Wsign-conversion]
    request->addProduct(type, product, prolevel, gbstorage, gbtransfer, months, amount, amountMonth, localPrice, description, iosid, androidid, std::move(bizPlan));
             ~~~~~~~~~~                ^~~~~~~~
src/megaapi_impl.cpp:14297:80: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
                client->purchase_additem(0, request->getNodeHandle(), pricing->getAmount(i),
                        ~~~~~~~~~~~~~~~~                              ~~~~~~~~~^~~~~~~~~~~~
src/megaapi_impl.cpp:14559:43: warning: implicit conversion changes signedness: 'int' to 'std::basic_string<char>::size_type' (aka 'unsigned long') [-Wsign-conversion]
        result.assign((const char *)data, size);
               ~~~~~~                     ^~~~
src/megaapi_impl.cpp:14571:23: error: no member named 'unlinklocal' in 'mega::MegaFileSystemAccess'
            fsAccess->unlinklocal(localPath);
            ~~~~~~~~~~^
src/megaapi_impl.cpp:14578:51: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
                if (!f->fwrite((const byte*)data, size, 0))
                        ~~~~~~                    ^~~~
src/megaapi_impl.cpp:14943:23: warning: implicit conversion changes signedness: 'int' to 'std::basic_string<char>::size_type' (aka 'unsigned long') [-Wsign-conversion]
    attrstring.resize(Base64::btoa((const byte *)a->data(), int(a->length()), (char *)attrstring.data()));
               ~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fatal error: too many errors emitted, stopping now [-ferror-limit=]
85 warnings and 20 errors generated.
gmake[4]: *** [Makefile:2644: src/libmega_la-megaapi_impl.lo] Error 1
gmake[4]: Leaving directory '/Users/pbulk/build/net/megacmd/work/MEGAcmd-1.7.0_Linux/sdk'
gmake[3]: *** [Makefile:3349: all-recursive] Error 1
gmake[3]: Leaving directory '/Users/pbulk/build/net/megacmd/work/MEGAcmd-1.7.0_Linux/sdk'
gmake[2]: *** [Makefile:1519: all] Error 2
gmake[2]: Leaving directory '/Users/pbulk/build/net/megacmd/work/MEGAcmd-1.7.0_Linux/sdk'
gmake[1]: *** [Makefile:1920: all-recursive] Error 1
gmake[1]: Leaving directory '/Users/pbulk/build/net/megacmd/work/MEGAcmd-1.7.0_Linux'
gmake: *** [Makefile:1069: all] Error 2
*** Error code 2

Stop.
bmake[1]: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/net/megacmd
*** Error code 1

Stop.
bmake: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/net/megacmd