Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8779129
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T19:42:26+00:00 2026-06-13T19:42:26+00:00

I am following these instructions to test the zlibStat library with testzlib. When I

  • 0

I am following these instructions to test the zlibStat library with testzlib. When I try to build testzlib, it throws the following error in testzlib.c, Line: 167, Char:43:

IntelliSense: argument of type "unsigned char **" is incompatible with parameter of type "void **"

Is it a specification change in C11, a bug in VC 11 or a bad code?

Is there a workaround? I tried changing unsigned char* FilePtr; to void* FilePtr;, but then the assignment operator throws the error on Line 200. Any thoughts?

Solution

I followed Icepack’s answer. Then I got an error on line 141, so I changed it to *pFilePtr=(unsigned char*)ptr;. Hopefully zlib guys would update their code accordingly.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T19:42:27+00:00Added an answer on June 13, 2026 at 7:42 pm

    Implicit conversion doesn’t work with double indirection. Converting char* to void* is ok, but char** to void** isn’t. See here for more details: http://c-faq.com/ptrs/genericpp.html

    Try replacing the ReadFileMemory signature with ReadFileMemory(const char* filename,long* plFileSize,unsigned char** pFilePtr).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Following these instructions http://robertogds.com/post/3324511589/howto-backbone-js-using-rails-3 The issue/error is that the content is never saved to
I've added a Facebook like button to my website , by following these instructions
Anyone out there using the FTUtils library for iPhone development? Following the instructions here
After following these steps: http://developers.facebook.com/docs/mobile/android/build/ I find that everything goes well, but when I
I'm following these instructions in order to set up Django on Windows. I have
I've successfully added a normal Unit Testing Bundle to my project, following these instructions
I want to test websocket with pywebsocket , after some configurations following some instructions
I'm using Codeigniter and following these instructions to force ssl but all requests are
I am following these instructions: http://developer.android.com/guide/market/billing/billing_integrate.html#billing-download and they say to open the Android SDK
By following these instruction about autocompletion. I create an Index named suggestions. But when

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.