~ubuntu-branches/ubuntu/hardy/suitesparse/hardy

« back to all changes in this revision

Viewing changes to UMFPACK/Source/umfpack_load_numeric.c

  • Committer: Bazaar Package Importer
  • Author(s): Rafael Laboissiere, Rafael Laboissiere, Ondrej Certik
  • Date: 2008-02-21 14:46:50 UTC
  • mfrom: (1.1.2 upstream) (5.1.1 hardy)
  • Revision ID: james.westby@ubuntu.com-20080221144650-tgeppgj0t7s759i8
Tags: 3.1.0-3
[ Rafael Laboissiere ]
* Upload to unstable

[ Ondrej Certik ]
* XS-DM-Upload-Allowed: yes field added
* Ondrej Certik added to uploaders

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
        fclose (f) ; \
28
28
        return (UMFPACK_ERROR_out_of_memory) ; \
29
29
    } \
30
 
    if (fread (object, sizeof (type), n, f) != n) \
 
30
    if (fread (object, sizeof (type), n, f) != (size_t) n) \
31
31
    { \
32
32
        UMFPACK_free_numeric ((void **) &Numeric) ; \
33
33
        fclose (f) ; \