Changeset 682 in Sophya for trunk/SophyaLib/NTools/nbrandom.c


Ignore:
Timestamp:
Dec 10, 1999, 5:56:03 PM (26 years ago)
Author:
ansari
Message:

Compilation Mac pour CodeWarrior PRO 5

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaLib/NTools/nbrandom.c

    r244 r682  
    495495
    496496sof = sizeof(struct tirage_alea);
    497 if( (t = malloc(sof) ) == NULL ) {
     497if( (t = (struct tirage_alea*)malloc(sof) ) == NULL ) {
    498498  printf("impossible d'allouer *tirage_alea par malloc \n");
    499499  return(NULL);
     
    503503
    504504sof = nbin * sizeof(double);
    505 if( (t->Tab = malloc(sof) ) == NULL ) {
     505if( (t->Tab = (double*)malloc(sof) ) == NULL ) {
    506506  printf("impossible d'allouer *tirage_alea.Tab par malloc \n");
    507507  return(NULL);
Note: See TracChangeset for help on using the changeset viewer.