Skip to content
Snippets Groups Projects
  1. Aug 02, 2013
  2. Aug 01, 2013
  3. Jul 30, 2013
  4. Jul 29, 2013
    • Sergey Lyubka's avatar
      Merge pull request #207 from bick4ord/master · b1c66f65
      Sergey Lyubka authored
      Add casts to fix strict compiler errors [-fpermissive]
      b1c66f65
    • bick's avatar
      Add casts to fix strict compiler errors [-fpermissive] · 8f79a056
      bick authored
      When using g++ and enforcing strict compiler errors, this commit fixes the following:
      
      mongoose.c: In function ‘char* mg_fgets(char*, size_t, file*, char**)’:
      mongoose.c:2405:60: error: invalid conversion from ‘void*’ to ‘char*’ [-fpermissive]
      
      mongoose.c: In function ‘int set_ports_option(mg_context*)’:
      mongoose.c:4586:64: error: invalid conversion from ‘void*’ to ‘socket*’ [-fpermissive]
      
      mongoose.c: In function ‘void* worker_thread(void*)’:
      mongoose.c:5104:28: error: invalid conversion from ‘void*’ to ‘mg_context*’ [-fpermissive]
      
      mongoose.c: In function ‘void* master_thread(void*)’:
      mongoose.c:5220:28: error: invalid conversion from ‘void*’ to ‘mg_context*’ [-fpermissive]
      mongoose.c:5235:58: error: invalid conversion from ‘void*’ to ‘pollfd*’ [-fpermissive]
      8f79a056
  5. Jul 28, 2013
  6. Jul 27, 2013
  7. Jul 26, 2013
  8. Jul 25, 2013
  9. Jul 24, 2013
  10. Jul 23, 2013
  11. Jul 22, 2013
  12. Jul 21, 2013
  13. Jul 20, 2013
  14. Jul 19, 2013
  15. Jul 18, 2013
Loading