diff options
author | Guy Harris <guy@alum.mit.edu> | 2011-04-11 00:01:08 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2011-04-11 00:01:08 +0000 |
commit | 4ad4d3e6784695420c7e511ed7eaa5c0e49f0e91 (patch) | |
tree | cb631a4e1881ed6ce2880d3e29c019f1a69a7604 /capture_sync.c | |
parent | f10a13b748bdafd13ab887437c04d04d325d2ca6 (diff) |
Jeff Morris's change to make the autostop file size 64-bit. Fixes bug
5691.
svn path=/trunk/; revision=36551
Diffstat (limited to 'capture_sync.c')
-rw-r--r-- | capture_sync.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/capture_sync.c b/capture_sync.c index 68b79f7928..e18161888f 100644 --- a/capture_sync.c +++ b/capture_sync.c @@ -391,7 +391,7 @@ sync_pipe_start(capture_options *capture_opts) { if(capture_opts->multi_files_on) { if (capture_opts->has_autostop_filesize) { argv = sync_pipe_add_arg(argv, &argc, "-b"); - g_snprintf(sfilesize, ARGV_NUMBER_LEN, "filesize:%d",capture_opts->autostop_filesize); + g_snprintf(sfilesize, ARGV_NUMBER_LEN, "filesize:%" G_GINT64_MODIFIER "d",capture_opts->autostop_filesize); argv = sync_pipe_add_arg(argv, &argc, sfilesize); } @@ -415,7 +415,7 @@ sync_pipe_start(capture_options *capture_opts) { } else { if (capture_opts->has_autostop_filesize) { argv = sync_pipe_add_arg(argv, &argc, "-a"); - g_snprintf(sautostop_filesize, ARGV_NUMBER_LEN, "filesize:%d",capture_opts->autostop_filesize); + g_snprintf(sautostop_filesize, ARGV_NUMBER_LEN, "filesize:%" G_GINT64_MODIFIER "d",capture_opts->autostop_filesize); argv = sync_pipe_add_arg(argv, &argc, sautostop_filesize); } } |