Changeset 8ddedf0


Ignore:
Timestamp:
Jul 16, 2019, 5:29:14 PM (2 years ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
arm-eh, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr
Children:
8d75345a
Parents:
20b461f
Message:

remove unnecessary cast

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tests/sum.cfa

    r20b461f r8ddedf0  
    1111// Created On       : Wed May 27 17:56:53 2015
    1212// Last Modified By : Peter A. Buhr
    13 // Last Modified On : Fri Jul 12 12:05:16 2019
    14 // Update Count     : 335
     13// Last Modified On : Tue Jul 16 09:51:37 2019
     14// Update Count     : 336
    1515//
    1616
     
    186186        void ?|?( ofstream & os, S v ) { (ofstream &)(os | v); ends( os ); }
    187187
    188         S s = (S){0}, a[size], v = { low, low };
     188        S s = 0, a[size], v = { low, low };
    189189        for ( int i = 0; i < size; i += 1, v += (S){1} ) {
    190190                s += (S)v;
Note: See TracChangeset for help on using the changeset viewer.