Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Passing argument from incompatible pointer type #226

Merged
merged 1 commit into from
Jul 11, 2024

Commits on Jul 11, 2024

  1. Passing argument from incompatible pointer type

    Reported to Debian Bug Tracking System (BTS):
    https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1075012
    
    globus_ftp_telnet_client.c:100:58: error: passing argument 5 of ‘globus_xio_readv’ from incompatible pointer type [-Wincompatible-pointer-types]
      100 |         res = globus_xio_readv(xio_handle, &readv, 1, 1, &len, NULL);
          |                                                          ^~~~
          |                                                          |
          |                                                          int *
    In file included from globus_ftp_telnet_client.c:17:
    /usr/include/globus/globus_xio.h:776:41: note: expected ‘globus_size_t *’ {aka ‘long unsigned int *’} but argument is of type ‘int *’
      776 |     globus_size_t *                     nbytes,
          |     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
    make[3]: *** [Makefile:408: globus_ftp_telnet_client.o] Error 1
    ellert committed Jul 11, 2024
    Configuration menu
    Copy the full SHA
    b210624 View commit details
    Browse the repository at this point in the history