Skip to content
Snippets Groups Projects
Commit 945dfce8 authored by Henrik (Grubba) Grubbström's avatar Henrik (Grubba) Grubbström
Browse files

Use of ptrdiff_t.

Rev: src/interpret.h:1.51
parent ec70a779
No related branches found
No related tags found
No related merge requests found
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
\*/ \*/
/* /*
* $Id: interpret.h,v 1.50 2000/07/07 03:01:24 hubbe Exp $ * $Id: interpret.h,v 1.51 2000/07/07 15:23:56 grubba Exp $
*/ */
#ifndef INTERPRET_H #ifndef INTERPRET_H
#define INTERPRET_H #define INTERPRET_H
...@@ -95,7 +95,7 @@ struct pike_frame ...@@ -95,7 +95,7 @@ struct pike_frame
#define pop_stack() do{ free_svalue(--Pike_sp); debug_check_stack(); }while(0) #define pop_stack() do{ free_svalue(--Pike_sp); debug_check_stack(); }while(0)
#define pop_n_elems(X) \ #define pop_n_elems(X) \
do { int x_=(X); if(x_) { \ do { ptrdiff_t x_=(X); if(x_) { \
check__positive(x_,("Popping negative number of args.... (%d) \n",x_)); \ check__positive(x_,("Popping negative number of args.... (%d) \n",x_)); \
Pike_sp-=x_; debug_check_stack(); \ Pike_sp-=x_; debug_check_stack(); \
free_svalues(Pike_sp,x_,BIT_MIXED); \ free_svalues(Pike_sp,x_,BIT_MIXED); \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment