Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
Trac
Trac
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 246
    • Issues 246
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Operations
    • Operations
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Create a new issue
  • Issue Boards

GitLab is used only for code review, issue tracking and project management. Canonical locations for source code are still https://gitweb.torproject.org/ https://git.torproject.org/ and git-rw.torproject.org.

  • Legacy
  • TracTrac
  • Issues
  • #20551

Closed (moved)
Open
Opened Nov 03, 2016 by Nick Mathewson@nickm🥄

Implicit conversion warnings with openssl 1.1 on 32-bit platforms

13:25:05 src/common/tortls.c:1650:30: error: implicit conversion loses integer precision: 'uint64_t' (aka 'unsigned long long') to 'unsigned long' [-Werror,-Wshorten-64-to-32]
13:25:05   result->last_write_count = BIO_number_written(bio);
13:25:05                            ~ ^~~~~~~~~~~~~~~~~~~~~~~
13:25:05 src/common/tortls.c:1651:29: error: implicit conversion loses integer precision: 'uint64_t' (aka 'unsigned long long') to 'unsigned long' [-Werror,-Wshorten-64-to-32]
13:25:05   result->last_read_count = BIO_number_read(bio);
13:25:05                           ~ ^~~~~~~~~~~~~~~~~~~~
13:25:05 src/common/tortls.c:2266:7: error: implicit conversion loses integer precision: 'uint64_t' (aka 'unsigned long long') to 'unsigned long' [-Werror,-Wshorten-64-to-32]
13:25:05   r = BIO_number_read(SSL_get_rbio(tls->ssl));
13:25:05     ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
13:25:05 src/common/tortls.c:2287:7: error: implicit conversion loses integer precision: 'uint64_t' (aka 'unsigned long long') to 'unsigned long' [-Werror,-Wshorten-64-to-32]
13:25:05   w = BIO_number_written(wbio);
13:25:05     ~ ^~~~~~~~~~~~~~~~~~~~~~~~
13:25:05 4 errors generated.
To upload designs, you'll need to enable LFS and have admin enable hashed storage. More information
Assignee
Assign to
Tor: 0.2.8.x-final
Milestone
Tor: 0.2.8.x-final
Assign milestone
Time tracking
None
Due date
None
Reference: legacy/trac#20551