ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/ot/writeoct.c
(Generate patch)

Comparing ray/src/ot/writeoct.c (file contents):
Revision 1.3 by greg, Thu Sep 6 23:30:13 1990 UTC vs.
Revision 1.4 by greg, Wed Dec 12 22:46:35 1990 UTC

# Line 108 | Line 108 | double  f;
108          int  e;
109  
110          putint((long)(frexp(f,&e)*0x7fffffff), 4);
111 <        putint(e, 1);
111 >        putint((long)e, 1);
112   }
113  
114  
# Line 147 | Line 147 | register OBJREC  *o;
147          for (i = 0; i < o->oargs.nsargs; i++)
148                  putstr(o->oargs.sarg[i]);
149   #ifdef  IARGS
150 <        putint(o->oargs.niargs, 2);
150 >        putint((long)o->oargs.niargs, 2);
151          for (i = 0; i < o->oargs.niargs; i++)
152 <                putint(o->oargs.iarg[i], 4);
152 >                putint((long)o->oargs.iarg[i], 4);
153   #endif
154          putint((long)o->oargs.nfargs, 2);
155          for (i = 0; i < o->oargs.nfargs; i++)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines