     /// create UInt64 parameter binding
     public func bindParam(_ i: UInt64) {
         self.paramBinds?[self.paramBindsOffset].buffer_type = MYSQL_TYPE_LONGLONG
-        self.paramBinds?[self.paramBindsOffset].buffer_length = UInt(sizeof(UInt64))
+        self.paramBinds?[self.paramBindsOffset].buffer_length = UInt(sizeof(UInt64.self))
         let a = UnsafeMutablePointer<UInt64>.allocatingCapacity(1)
         a.initialize(with: UInt64(i))
         self.paramBinds?[self.paramBindsOffset].is_unsigned = 1

    /// create Int parameter binding
    public func bindParam(_ i: Int) {
        self.paramBinds?[self.paramBindsOffset].buffer_type = MYSQL_TYPE_LONGLONG
        self.paramBinds?[self.paramBindsOffset].buffer_length = UInt(sizeof(Int64))
        let a = UnsafeMutablePointer<Int64>.allocatingCapacity(1)
        a.initialize(with: Int64(i))
        self.paramBinds?[self.paramBindsOffset].buffer = UnsafeMutablePointer<()>(a)

		func bindBuffer<T>(_ sourceBind: MYSQL_BIND, type: T) -> MYSQL_BIND {
			var bind = sourceBind
			bind.buffer = UnsafeMutablePointer<()>(UnsafeMutablePointer<T>.allocatingCapacity(1))
			bind.buffer_length = UInt(sizeof(T.self))
			return bind
		}
        
