|
| From: | Michael Forbes |
| Subject: | [Bug-gsl] [bug #29783] Missing cast on line 226 of glfixed.c? |
| Date: | Wed, 05 May 2010 01:05:42 +0000 |
| User-agent: | Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_5_8; en-ca) AppleWebKit/531.22.7 (KHTML, like Gecko) Version/4.0.5 Safari/531.22.7 |
URL:
<http://savannah.gnu.org/bugs/?29783>
Summary: Missing cast on line 226 of glfixed.c?
Project: GNU Scientific Library
Submitted by: mforbes
Submitted on: Tue 04 May 2010 09:05:41 PM EDT
Category: Build
Severity: 3 - Normal
Operating System:
Status: None
Assigned to: None
Open/Closed: Open
Release: 1.14
Discussion Lock: Any
_______________________________________________________
Details:
I was having a problem building the gsl using the intel compiler.
icpc (ICC) 10.1 20071116
Copyright (C) 1985-2007 Intel Corporation. All rights reserved.
because of a lack of cast on line 226 of integration/glfixed.c. Adding the
cast allowed the compilation to continue:
226c226
< retval = malloc(sizeof(gsl_integration_glfixed_table));
---
> retval = (gsl_integration_glfixed_table *)
malloc(sizeof(gsl_integration_glfixed_table));
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?29783>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
| [Prev in Thread] | Current Thread | [Next in Thread] |