Changeset 682 in Sophya for trunk/SophyaLib/NTools/nbrandom.c
- Timestamp:
- Dec 10, 1999, 5:56:03 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaLib/NTools/nbrandom.c
r244 r682 495 495 496 496 sof = sizeof(struct tirage_alea); 497 if( (t = malloc(sof) ) == NULL ) {497 if( (t = (struct tirage_alea*)malloc(sof) ) == NULL ) { 498 498 printf("impossible d'allouer *tirage_alea par malloc \n"); 499 499 return(NULL); … … 503 503 504 504 sof = nbin * sizeof(double); 505 if( (t->Tab = malloc(sof) ) == NULL ) {505 if( (t->Tab = (double*)malloc(sof) ) == NULL ) { 506 506 printf("impossible d'allouer *tirage_alea.Tab par malloc \n"); 507 507 return(NULL);
Note:
See TracChangeset
for help on using the changeset viewer.