diff --git a/src/interpret_functions.h b/src/interpret_functions.h
index bfffd60b8c4c2393d8d4d2babd1419f96fd522be..850a24e26b7a2ff4d86493fc0cfd8acc6ec8e582 100644
--- a/src/interpret_functions.h
+++ b/src/interpret_functions.h
@@ -437,7 +437,7 @@ OPCODE2(F_PRIVATE_TYPED_GLOBAL, "global <private,typed>", I_UPDATE_SP, {
     {
 #if SIZEOF_FLOAT_TYPE != SIZEOF_INT_TYPE
       if( UNLIKELY(arg2)==PIKE_T_INT )
-	push_integer( *(INT_TYPE*)ptr );
+	push_int( *(INT_TYPE*)ptr );
       else
 	push_float( *(FLOAT_TYPE*)ptr );
 #else