Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit652300f

Browse files
committed
pgcrypto: Remove inappropriate const qualifier
The function in question does not in fact ensure that the passedargument is not changed, and the callers don't care much either.
1 parent7064fd0 commit652300f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

‎contrib/pgcrypto/mbuf.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ mbuf_create(int len)
136136
}
137137

138138
MBuf*
139-
mbuf_create_from_data(constuint8*data,intlen)
139+
mbuf_create_from_data(uint8*data,intlen)
140140
{
141141
MBuf*mbuf;
142142

‎contrib/pgcrypto/mbuf.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ struct PullFilterOps
7777
* Memory buffer
7878
*/
7979
MBuf*mbuf_create(intlen);
80-
MBuf*mbuf_create_from_data(constuint8*data,intlen);
80+
MBuf*mbuf_create_from_data(uint8*data,intlen);
8181
intmbuf_tell(MBuf*mbuf);
8282
intmbuf_avail(MBuf*mbuf);
8383
intmbuf_size(MBuf*mbuf);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp