Changeset 9cb305 in git
- Timestamp:
- Jul 29, 2013, 5:20:20 PM (10 years ago)
- Branches:
- (u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'a800fe4b3e9d37a38c5a10cc0ae9dfa0c15a4ee6')
- Children:
- ddf322c56f685741b1af472fa594094a49f8c6ad
- Parents:
- 3631a1348b10ecae02a13616277e1ba0458f46e7
- Location:
- Singular
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/extra.cc
r3631a1 r9cb305 3265 3265 ideal GI = (ideal) h->Data(); 3266 3266 res->rtyp = INT_CMD; 3267 res->data = (void *) testGB(I, GI);3267 res->data = (void *)(long) testGB(I, GI); 3268 3268 return(FALSE); 3269 3269 } -
Singular/ipshell.cc
r3631a1 r9cb305 2171 2171 ch = l; 2172 2172 } 2173 R->cf = nInitChar(n_Zp, (void*) ch);2173 R->cf = nInitChar(n_Zp, (void*)(long)ch); 2174 2174 } 2175 2175 } … … 2729 2729 //row_shift += add_row_shift; 2730 2730 //Print("row_shift=%d, add_row_shift=%d\n",row_shift,add_row_shift); 2731 atSet(res,omStrDup("rowShift"),(void*) add_row_shift,INT_CMD);2731 atSet(res,omStrDup("rowShift"),(void*)(long)add_row_shift,INT_CMD); 2732 2732 2733 2733 return FALSE; … … 2996 2996 L->m[5].rtyp = INTVEC_CMD; // multiplicities 2997 2997 2998 L->m[0].data = (void*) spec.mu;2999 L->m[1].data = (void*) spec.pg;3000 L->m[2].data = (void*) spec.n;2998 L->m[0].data = (void*)(long)spec.mu; 2999 L->m[1].data = (void*)(long)spec.pg; 3000 L->m[2].data = (void*)(long)spec.n; 3001 3001 L->m[3].data = (void*)num; 3002 3002 L->m[4].data = (void*)den; … … 3359 3359 (*L)->Init( 1 ); 3360 3360 (*L)->m[0].rtyp = INT_CMD; // milnor number 3361 (*L)->m[0].data = (void*) mu;3361 (*L)->m[0].data = (void*)(long)mu; 3362 3362 3363 3363 return spectrumDegenerate; … … 3376 3376 (*L)->m[5].rtyp = INTVEC_CMD; // multiplicities 3377 3377 3378 (*L)->m[0].data = (void*) mu;3379 (*L)->m[1].data = (void*) pg;3380 (*L)->m[2].data = (void*) n;3378 (*L)->m[0].data = (void*)(long)mu; 3379 (*L)->m[1].data = (void*)(long)pg; 3380 (*L)->m[2].data = (void*)(long)n; 3381 3381 (*L)->m[3].data = (void*)nom; 3382 3382 (*L)->m[4].data = (void*)den; … … 4116 4116 res->rtyp = INT_CMD; 4117 4117 if (qh) 4118 res->data = (void*)( s1.mult_spectrumh( s2 ));4118 res->data = (void*)(long)(s1.mult_spectrumh( s2 )); 4119 4119 else 4120 res->data = (void*)( s1.mult_spectrum( s2 ));4120 res->data = (void*)(long)(s1.mult_spectrum( s2 )); 4121 4121 } 4122 4122 … … 4215 4215 4216 4216 lres->m[1].rtyp= INT_CMD; // found a solution? 4217 lres->m[1].data=(void*) LP->icase;4217 lres->m[1].data=(void*)(long)LP->icase; 4218 4218 4219 4219 lres->m[2].rtyp= INTVEC_CMD; … … 4224 4224 4225 4225 lres->m[4].rtyp= INT_CMD; 4226 lres->m[4].data=(void*) LP->m;4226 lres->m[4].data=(void*)(long)LP->m; 4227 4227 4228 4228 lres->m[5].rtyp= INT_CMD; 4229 lres->m[5].data=(void*) LP->n;4229 lres->m[5].data=(void*)(long)LP->n; 4230 4230 4231 4231 res->data= (void*)lres; … … 5761 5761 memset(&tmp_in,0,sizeof(tmp_in)); 5762 5762 tmp_in.rtyp=INT_CMD; 5763 tmp_in.data=(void*)( *aa)[i];5763 tmp_in.data=(void*)(long)(*aa)[i]; 5764 5764 if (proc==NULL) 5765 5765 bo=iiExprArith1(&tmp_out,&tmp_in,op);
Note: See TracChangeset
for help on using the changeset viewer.