Home My Page Projects Code Snippets Project Openings SML/NJ
Summary Activity Forums Tracker Lists Tasks Docs Surveys News SCM Files

SCM Repository

[smlnj] Diff of /sml/branches/num64/runtime/c-libs/smlnj-time/timeofday.c
ViewVC logotype

Diff of /sml/branches/num64/runtime/c-libs/smlnj-time/timeofday.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 5228, Thu May 30 17:51:06 2019 UTC revision 5229, Thu May 30 18:15:17 2019 UTC
# Line 60  Line 60 
60  #error no timeofday mechanism  #error no timeofday mechanism
61  #endif  #endif
62    
63  /* 64BIT: 32-bit integers are not heap allocated on 64-bit targets, but we should use 64-bits here */      ml_sec = INT32_CtoML(msp, c_sec);
     INT32_ALLOC(msp, ml_sec, c_sec);  
64      REC_ALLOC2 (msp, res, ml_sec, INT_CtoML(c_usec));      REC_ALLOC2 (msp, res, ml_sec, INT_CtoML(c_usec));
65    
66      return res;      return res;

Legend:
Removed from v.5228  
changed lines
  Added in v.5229

root@smlnj-gforge.cs.uchicago.edu
ViewVC Help
Powered by ViewVC 1.0.0