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

Commit7de29d5

Browse files
Fix a macOS (M1) compiler warning.
1 parent981c693 commit7de29d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎library.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3130,7 +3130,7 @@ PHP_REDIS_API int redis_sock_connect(RedisSock *redis_sock)
31303130
}
31313131

31323132
gettimeofday(&tv,NULL);
3133-
persistent_id=strpprintf(0,"phpredis_%ld%ld",tv.tv_sec,tv.tv_usec);
3133+
persistent_id=strpprintf(0,"phpredis_%ld%ld",tv.tv_sec,(long)tv.tv_usec);
31343134
}else {
31353135
if (redis_sock->persistent_id) {
31363136
persistent_id=strpprintf(0,"phpredis:%s:%s",host,ZSTR_VAL(redis_sock->persistent_id));

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp