Skip to content

int/uint mismatch in AddProtocol #1

@GoogleCodeExporter

Description

@GoogleCodeExporter
Using .Net v4.0, there is an int/uint mismatch.

public Win32RpcServer AddProtocol(string protocol, string endpoint, uint 
maxCallLimit)
{
    _server.AddProtocol(Win32RpcClient.Parse(protocol), endpoint, (int)maxCallLimit); //<<--need to cast this to int
            return this;
}

Other wise, you cannot create a server.
Programs using the library will throw an exception like this:
Method not found: 'Void 
CSharpTest.Net.RpcLibrary.RpcServerApi.AddProtocol(CSharpTest.Net.RpcLibrary.Rpc
Protseq, System.String, UInt32)'.


Original issue reported on code.google.com by [email protected] on 17 Oct 2014 at 6:13

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions