Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ffa0d24d authored by Elliott Hughes's avatar Elliott Hughes Committed by Gerrit Code Review
Browse files

Merge "Fix Win32 build."

parents 4546520c 1b600a90
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -191,7 +191,7 @@ int _adb_connect(const char *service, std::string* error) {
    D("_adb_connect: %s\n", service);
    size_t len = strlen(service);
    if ((len < 1) || (len > 1024)) {
        *error = android::base::StringPrintf("service name too long (%zd)", len);
        *error = android::base::StringPrintf("service name too long (%d)", static_cast<int>(len));
        return -1;
    }
    snprintf(tmp, sizeof tmp, "%04zx", len);