소스 검색

svn:r9079

Nick Mathewson 20 년 전
부모
커밋
991308fac9
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/or/eventdns.c

+ 1 - 1
src/or/eventdns.c

@@ -1422,7 +1422,7 @@ evdns_request_data_build(const char *const name, const int name_len, const u16 t
 
 	j = dnsname_to_labels(buf, buf_len, j, name, name_len, NULL);
 	if (j < 0) {
-		return j;
+		return (int)j;
 	}
 
 	APPEND16(type);