~bibledit/bibledit/ubuntu-cloud

« back to all changes in this revision

Viewing changes to sync/files.cpp

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

Show diffs side-by-side

added added

removed removed

Lines of Context:
60
60
  string user = hex2bin (request->post ["u"]);
61
61
  int action = convert_to_int (request->post ["a"]);
62
62
  int version = convert_to_int (request->post ["v"]);
63
 
  size_t d = convert_to_int (request->post ["d"]);
 
63
  size_t d = static_cast<size_t>(convert_to_int (request->post ["d"]));
64
64
  string file = request->post ["f"];
65
65
 
66
66
  // For security reasons a client does not specify the directory of the file to be downloaded.