SF.net SVN: geany-plugins:[1800] trunk/geany-plugins/geanygendoc/src/ ggd-utils.c
colombanw at users.sourceforge.net
colombanw at xxxxx
Sun Jan 2 13:15:15 UTC 2011
Revision: 1800
http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=1800&view=rev
Author: colombanw
Date: 2011-01-02 13:15:15 +0000 (Sun, 02 Jan 2011)
Log Message:
-----------
GeanyGenDoc: Fix use of some non-glib types and format used for gssize
Modified Paths:
--------------
trunk/geany-plugins/geanygendoc/src/ggd-utils.c
Modified: trunk/geany-plugins/geanygendoc/src/ggd-utils.c
===================================================================
--- trunk/geany-plugins/geanygendoc/src/ggd-utils.c 2011-01-02 13:07:43 UTC (rev 1799)
+++ trunk/geany-plugins/geanygendoc/src/ggd-utils.c 2011-01-02 13:15:15 UTC (rev 1800)
@@ -94,10 +94,10 @@
if (fd_out < 0) {
set_file_error_from_errno (error, errno, output);
} else {
- char buf[BUFSIZ];
- size_t buf_size = sizeof buf;
- ssize_t size_in;
- ssize_t size_out;
+ gchar buf[BUFSIZ];
+ gsize buf_size = sizeof buf;
+ gssize size_in;
+ gssize size_out;
success = TRUE;
do {
@@ -115,8 +115,8 @@
display_input = g_filename_display_name (input);
g_set_error (error, G_FILE_ERROR, G_FILE_ERROR_FAILED,
- "%s: failed to write %"G_GSIZE_FORMAT" bytes "
- "(read %"G_GSIZE_FORMAT", wrote %"G_GSIZE_FORMAT")",
+ "%s: failed to write %"G_GSSIZE_FORMAT" bytes "
+ "(read %"G_GSSIZE_FORMAT", wrote %"G_GSSIZE_FORMAT")",
display_input, size_in - size_out, size_in, size_out);
g_free (display_input);
success = FALSE;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Plugins-Commits
mailing list