Changeset 22743e in git


Ignore:
Timestamp:
Oct 10, 1997, 2:30:40 PM (27 years ago)
Author:
Jens Schmidt <schmidt@…>
Branches:
(u'spielwiese', '17f1d200f27c5bd38f5dfc6e8a0879242279d1d8')
Children:
b14d27f7644bf251ce7189b6b2f295864cadb260
Parents:
929cf9b6b0a8ae359eb0d66c4eb88cc4aa6b52fc
Message:
	* gfops.cc (gf_get_table): casts to 'char *' added to avoid
	  warnings


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

Legend:

Unmodified
Added
Removed
  • factory/gfops.cc

    r929cf9 r22743e  
    11/* emacs edit mode for this file is -*- C++ -*- */
    2 /* $Id: gfops.cc,v 1.2 1997-06-19 12:23:00 schmidt Exp $ */
     2/* $Id: gfops.cc,v 1.3 1997-10-10 12:30:40 schmidt Exp $ */
    33
    44#include <config.h>
     
    105105    // skip (sic!) factory-representation of mipo
    106106    // and terminating "; "
    107     bufptr = strchr( buffer, ';' ) + 2;
     107    bufptr = (char *)strchr( buffer, ';' ) + 2;
    108108    // read simple representation of mipo
    109109    int i, degree;
    110110    sscanf( bufptr, "%d", &degree );
    111     bufptr = strchr( bufptr, ' ' ) + 1;
     111    bufptr = (char *)strchr( bufptr, ' ' ) + 1;
    112112    int * mipo = new int[degree + 1];
    113113    for ( i = 0; i <= degree; i++ ) {
    114114        sscanf( bufptr, "%d", mipo + i );
    115         bufptr = strchr( bufptr, ' ' ) + 1;
     115        bufptr = (char *)strchr( bufptr, ' ' ) + 1;
    116116    }
    117117
Note: See TracChangeset for help on using the changeset viewer.