We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
typedef unsigned char pcre_uint8; typedef struct pcre_study_data { pcre_uint8 start_bits[32]; } pcre_study_data; // ... pcre_study_data sdata; sdata.start_bits[1] = 42; const pcre_study_data *study = &sdata; const pcre_uint8 *p = 0; p = study->start_bits; is_eq(*(p+1), 42);
gives the go build error cannot use study[0].start_bits (type [32]pcre_uint8) as type []pcre_uint8 in assignment
cannot use study[0].start_bits (type [32]pcre_uint8) as type []pcre_uint8 in assignment
The text was updated successfully, but these errors were encountered:
Cast array to slice. Fixes elliotchance#719
cc04d20
Cast array to slice. Fixes #719 (#720)
b227b8f
No branches or pull requests
gives the go build error
cannot use study[0].start_bits (type [32]pcre_uint8) as type []pcre_uint8 in assignment
The text was updated successfully, but these errors were encountered: