Project

Profile

Help

HostedRedmine.com has moved to the Planio platform. All logins and passwords remained the same. All users will be able to login and use Redmine just as before. Read more...

Bug #871347

Rulesave returning 'struct entry *' as int

Added by Marko Lindqvist over 2 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Category:
freeciv-ruledit
Sprint/Milestone:
Start date:
Due date:
% Done:

0%

Estimated time:

Description

From emscripten build:

../../../../src/tools/ruleutil/rulesave.c:815:12: warning: incompatible pointer to integer conversion returning 'struct entry *' from a function with result type 'unsigned int' [-Wint-conversion]
return secfile_insert_str(sfile, RS_ACTION_NO_MAX_DISTANCE,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../../../src/utility/registry_ini.h:171:3: note: expanded from macro 'secfile_insert_str'
secfile_insert_str_full(secfile, string, NULL, FALSE, FALSE, FALSE, \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

History

#2 Updated by Marko Lindqvist over 2 years ago

  • Status changed from Resolved to Closed
  • Assignee set to Marko Lindqvist

Also available in: Atom PDF