tools/map.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit cb1bdf3a7325bc9be4cc4cb965a77aa1c40817d7
Author: Tor Lillqvist <t...@collabora.com>
Date:   Thu Oct 26 12:02:28 2017 +0300

    Avoid warning: ā€˜%sā€™ directive output may be truncated writing up to 255 
bytes
    
    ... into a region of size 58
    
    Change-Id: I725c537ed21553e9dc34ba006a39917e1549b6a7
    (cherry picked from commit a0b82c9fdb8bc4db967d1f589092a99d72f657e7)
    Reviewed-on: https://gerrit.libreoffice.org/48628
    Reviewed-by: Tor Lillqvist <t...@collabora.com>
    Tested-by: Tor Lillqvist <t...@collabora.com>

diff --git a/tools/map.cpp b/tools/map.cpp
index 9ed47193..e5e16777 100644
--- a/tools/map.cpp
+++ b/tools/map.cpp
@@ -21,7 +21,7 @@
 #include <locale.h>
 
 #define MAP_SIZE 20
-#define PATH_SIZE 64
+#define PATH_SIZE 1000 // No harm in having it much larger than strictly 
necessary. Avoids compiler warning.
 #define BUFFER_SIZE 9600
 
 static int read_buffer(char *buffer, unsigned size,
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to