John Cupitt 2019-12-29 12:19:58 +00:00
parent 9c6bfc7462
commit c65e399c48
2 changed files with 6 additions and 6 deletions

View File

@ -83,7 +83,7 @@ vips_streamiu_read_real( VipsStreami *streami,
bytes_read = 0; bytes_read = 0;
g_signal_emit( streami, vips_streamiu_signals[SIG_READ], 0, g_signal_emit( streami, vips_streamiu_signals[SIG_READ], 0,
buffer, length, &bytes_read ); buffer, (gint64) length, &bytes_read );
VIPS_DEBUG_MSG( " vips_streamiu_read_real, seen %zd bytes\n", VIPS_DEBUG_MSG( " vips_streamiu_read_real, seen %zd bytes\n",
bytes_read ); bytes_read );
@ -182,9 +182,9 @@ vips_streamiu_class_init( VipsStreamiuClass *class )
G_SIGNAL_ACTION, G_SIGNAL_ACTION,
G_STRUCT_OFFSET( VipsStreamiuClass, read ), G_STRUCT_OFFSET( VipsStreamiuClass, read ),
NULL, NULL, NULL, NULL,
vips_INT64__INT64_INT, vips_INT64__POINTER_INT64,
G_TYPE_INT64, 2, G_TYPE_INT64, 2,
G_TYPE_INT64, G_TYPE_INT ); G_TYPE_POINTER, G_TYPE_INT64 );
/** /**
* VipsStreamiu::seek: * VipsStreamiu::seek:
@ -204,9 +204,9 @@ vips_streamiu_class_init( VipsStreamiuClass *class )
G_SIGNAL_ACTION, G_SIGNAL_ACTION,
G_STRUCT_OFFSET( VipsStreamiuClass, seek ), G_STRUCT_OFFSET( VipsStreamiuClass, seek ),
NULL, NULL, NULL, NULL,
vips_INT64__POINTER_INT64, vips_INT64__INT64_INT,
G_TYPE_INT64, 2, G_TYPE_INT64, 2,
G_TYPE_POINTER, G_TYPE_INT64 ); G_TYPE_INT64, G_TYPE_INT );
} }

View File

@ -83,7 +83,7 @@ vips_streamou_write_real( VipsStreamo *streamo,
bytes_written = 0; bytes_written = 0;
g_signal_emit( streamo, vips_streamou_signals[SIG_WRITE], 0, g_signal_emit( streamo, vips_streamou_signals[SIG_WRITE], 0,
data, length, &bytes_written ); data, (gint64) length, &bytes_written );
VIPS_DEBUG_MSG( " %zd\n", bytes_written ); VIPS_DEBUG_MSG( " %zd\n", bytes_written );