Changeset 7447d8 in git for Singular/subexpr.cc


Ignore:
Timestamp:
Jul 27, 2005, 5:48:29 PM (19 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'spielwiese', '4a9821a93ffdc22a6696668bd4f6b8c9de3e6c5f')
Children:
0b5a8b964a0f8ffcf71b80e540492fabe3f379ce
Parents:
7adb161bdb6d1b153d8380ad71f162acf6914d8f
Message:
*hannes: gcc 4 and 64bit


git-svn-id: file:///usr/local/Singular/svn/trunk@8463 2c84dea3-7e68-4137-9b89-c4e89433aadc
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Singular/subexpr.cc

    r7adb161 r7447d8  
    55* ABSTRACT: handling of leftv
    66*/
    7 /* $Id: subexpr.cc,v 1.90 2005-05-31 07:42:21 bricken Exp $ */
     7/* $Id: subexpr.cc,v 1.91 2005-07-27 15:47:58 Singular Exp $ */
    88
    99#include <stdlib.h>
     
    144144          break;
    145145       case INT_CMD:
    146           ::Print("%-*.*s%d",spaces,spaces," ",(int)d);
     146          ::Print("%-*.*s%d",spaces,spaces," ",(int)(long)d);
    147147          break;
    148148       case PROC_CMD:
     
    662662          {
    663663            s=(char *)omAlloc(MAX_INT_LEN+7);
    664             sprintf(s,"int(%d)",(int)d);
     664            sprintf(s,"int(%d)",(int)(long)d);
    665665          }
    666666          else
    667667          {
    668668            s=(char *)omAlloc(MAX_INT_LEN+2);
    669             sprintf(s,"%d",(int)d);
     669            sprintf(s,"%d",(int)(long)d);
    670670          }
    671671          return s;
Note: See TracChangeset for help on using the changeset viewer.