Warnings in ikarus-symbol-table.c

Bug #173386 reported by Michael D. Adams on 2007-12-02
2
Affects Status Importance Assigned to Milestone
Ikarus Scheme
Low
Abdulaziz Ghuloum

Bug Description

A benign bug is in src/ikarus-symbol-table.c:

ikarus-symbol-table.c: In function ‘ikrt_string_hash’:
ikarus-symbol-table.c:56: warning: return makes pointer from integer without a cast

The function causing this warning is:
ikp
ikrt_string_hash(ikp str){
  return compute_hash(str) & (~ fx_mask);
}

It can be fixed by simply adding a cast:
ikp
ikrt_string_hash(ikp str){
  return (ikp)(compute_hash(str) & (~ fx_mask));
}

Abdulaziz Ghuloum (aghuloum) wrote :

Picky picky. Fixed in revision 1165.

Changed in ikarus:
assignee: nobody → aghuloum
importance: Undecided → Low
status: New → Fix Committed
Abdulaziz Ghuloum (aghuloum) wrote :

This bug report is about to be closed as the fix comitted
previously will be incorporated in the next 0.0.3 release of
Ikarus Scheme, scheduled for January 31, 2008. A release
candidate tarball is available for download from:
http://www.cs.indiana.edu/~aghuloum/ikarus/ikarus-0.0.3-rc1.tar.gz
Please do test it if you have the time and report any issues
you might encounter. Thank you very much for your support.
(Sorry for the duplicates; I'm updating every open bug.)

Changed in ikarus:
milestone: none → 0.0.3
Changed in ikarus:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers