Using long as modifier for typedef'd names is invalid C.
This commit is contained in:
parent
a2672dcf92
commit
28d72cd28d
2 changed files with 13 additions and 4 deletions
|
@ -1,4 +1,4 @@
|
|||
$NetBSD: distinfo,v 1.11 2011/12/23 01:12:35 joerg Exp $
|
||||
$NetBSD: distinfo,v 1.12 2012/12/20 22:00:42 joerg Exp $
|
||||
|
||||
SHA1 (gcvs-1.0.tar.gz) = 42b2469d0a9acc0e69a127b44000cd1b11bb895e
|
||||
RMD160 (gcvs-1.0.tar.gz) = 195698283848cd1f22d00eb37df7dd0f6b52cffc
|
||||
|
@ -29,7 +29,7 @@ SHA1 (patch-at) = 9ab6cef9e6122b2f2b4148be1610948f9764b387
|
|||
SHA1 (patch-au) = 62e0a709039fc73ea131a975fd4a4cbd9e5b134e
|
||||
SHA1 (patch-common_AppGlue.h) = 3ddf2f3cb842cd159407a232bc2122c2c89a5863
|
||||
SHA1 (patch-common_Persistent.h) = 4df5170a64a6d3135cb4bb5aad90b4f86f2ed1b9
|
||||
SHA1 (patch-common_UCvsConsole.cpp) = 2c5a6e9d8759b7d6160865f4ccddbe02dbe7a0ac
|
||||
SHA1 (patch-common_UCvsConsole.cpp) = 276990c24811183c682410f4324f9e93de356931
|
||||
SHA1 (patch-common_getline_c) = 038fb5200c692e4b4d82041008b762a2bec55be2
|
||||
SHA1 (patch-common_getline_h) = ea1153a559b349da6083de7cd913840802c8caa9
|
||||
SHA1 (patch-cvstree_CvsLog.h) = 4f6dae8bb52b0f6b0e226dac985bbc098177acb6
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
$NetBSD: patch-common_UCvsConsole.cpp,v 1.1 2011/11/25 21:42:44 joerg Exp $
|
||||
$NetBSD: patch-common_UCvsConsole.cpp,v 1.2 2012/12/20 22:00:42 joerg Exp $
|
||||
|
||||
--- common/UCvsConsole.cpp.orig 2011-11-25 17:57:07.000000000 +0000
|
||||
--- common/UCvsConsole.cpp.orig 2000-06-06 05:48:24.000000000 +0000
|
||||
+++ common/UCvsConsole.cpp
|
||||
@@ -22,6 +22,7 @@
|
||||
*
|
||||
|
@ -10,3 +10,12 @@ $NetBSD: patch-common_UCvsConsole.cpp,v 1.1 2011/11/25 21:42:44 joerg Exp $
|
|||
#include "stdafx.h"
|
||||
|
||||
#if qGTK
|
||||
@@ -230,7 +231,7 @@ extern "C"
|
||||
nEndChar = w.selection_end_pos;
|
||||
}
|
||||
|
||||
- guint long length = nEndChar - nStartChar;
|
||||
+ size_t length = nEndChar - nStartChar;
|
||||
if(length > 0 && nStartChar < len)
|
||||
{
|
||||
char *buf = (char *)malloc((length + 1) * sizeof(char));
|
||||
|
|
Loading…
Reference in a new issue